File: lua_spa_device_api.rst

package info (click to toggle)
wireplumber 0.5.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,244 kB
  • sloc: ansic: 41,043; python: 391; sh: 62; makefile: 57; xml: 23
file content (21 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 .. _lua_spa_device_api:

Spa Device
==========

.. function:: SpaDevice.get_managed_object(self, id)

   Binds :c:func:`wp_spa_device_get_managed_object`

   :param self: the spa device
   :param integer id: the object id
   :returns: the managed object or nil

.. function:: SpaDevice.store_managed_object(self, id, object)

   Binds :c:func:`wp_spa_device_store_managed_object`

   :param self: the spa device
   :param integer id: the object id
   :param GObject object: a GObject to store or nil to remove the existing
                          stored object