lock_sync


Description:

[ 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.

Parameters:

this

a Sensor instance.

cancellable

a Cancellable or null

Returns:

true for success, else false.




2022 vala-language.org