set_serial_sync


Description:

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

Sets the device serial number.

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

Parameters:

this

a Device instance.

value

The string value.

cancellable

a Cancellable or null

Returns:

TRUE for success, else FALSE and throws is used




2022 vala-language.org