delete_listener()
- 1 Minute to read
delete_listener()
- 1 Minute to read
Article summary
Did you find this summary helpful?
Thank you for your feedback
Disable and delete a previously created frame listener, see create_color_frame_listener().
Reference
Arguments
Arguments | Type | |
---|---|---|
camera_name | str | Camera name |
Return
None
Exceptions
RayaCameraInvalidName
See the complete list of cameras exceptions.
Usage Example
1. Delete listener
...
self.cameras = await self.enable_controller('cameras')
self.camera_name = 'chest'
self.cameras.enable_camera(self.camera_name)
self.cameras.create_color_frame_listener(camera_name=self.camera_name, callback=self.camera_frame_callback)
...
self.cameras.delete_listener(camera_name=self.camera_name)
...
Was this article helpful?