| 1 |
.. _lua_spa_device_api: |
| 2 |
|
| 3 |
Spa Device |
| 4 |
========== |
| 5 |
|
| 6 |
.. function:: SpaDevice.get_managed_object(self, id) |
| 7 |
|
| 8 |
Binds :c:func:`wp_spa_device_get_managed_object` |
| 9 |
|
| 10 |
:param self: the spa device |
| 11 |
:param integer id: the object id |
| 12 |
:returns: the managed object or nil |
| 13 |
|
| 14 |
.. function:: SpaDevice.store_managed_object(self, id, object) |
| 15 |
|
| 16 |
Binds :c:func:`wp_spa_device_store_managed_object` |
| 17 |
|
| 18 |
:param self: the spa device |
| 19 |
:param integer id: the object id |
| 20 |
:param GObject object: a GObject to store or nil to remove the existing |
| 21 |
stored object |