SensorSubscription
Represents a sensor subscription handle returned by subscription APIs. SensorSubscription also implements the context manager protocol and can be used with with statements to automatically unsubscribe.
unsubscribe
Signature:
SensorSubscription.unsubscribe() -> None
Description:
Unsubscribe to stop triggering callbacks. Repeated calls are idempotent.
Parameters:
No parameters.
Returns:
None.
Raises:
None.