set_model_sync


Description:

[ Version ( since = "0.1.0" ) ]
public bool set_model_sync (string value, Cancellable? cancellable = null) throws Error

Sets the device model.

WARNING: This function is synchronous, and may block. Do not use it in GUI applications.

Parameters:

this

a Device instance.

value

The model.

cancellable

a Cancellable or null

Returns:

TRUE for success, else FALSE and throws is used