set_kind_sync
Description:
[ Version ( since = "0.1.0" ) ]
public bool set_kind_sync (DeviceKind kind, Cancellable? cancellable = null) throws Error
public bool set_kind_sync (DeviceKind kind, Cancellable? cancellable = null) throws Error
Sets the device kind.
WARNING: This function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a Device instance. |
kind |
The device kind, e.g. DISPLAY |
cancellable |
a Cancellable or null |
Returns:
|