[ Version ( since = "0.1.6" ) ]
public bool lock_sync (Cancellable? cancellable = null) throws Error
Locks the device so we can use it.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
this |
a Sensor instance. |
cancellable |
a Cancellable or null |
true for success, else false. |