lock_sync
Description:
Locks the device so we can use it.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a Sensor instance. |
cancellable |
a Cancellable or null |
Returns:
true for success, else false. |