wireplumber/docs/rst/lua_api/lua_object_interest_api.rst

25 lines
458 B
ReStructuredText
Raw Normal View History

2021-05-13 17:53:51 +03:00
.. _lua_object_interest_api:
Object Interest
===============
2021-05-13 17:53:51 +03:00
Constructors
~~~~~~~~~~~~
.. function:: Interest(decl)
:param table decl: an interest declaration
:returns: the interest
:rtype: ObjectInterest
Methods
~~~~~~~
.. function:: Interest.matches(self, obj)
:param self: the interest
:param obj: an object to check for a match
:type obj: GObject or table
:returns: whether the object matches the interest
:rtype: boolean