select_sync


Description:

[ Version ( since = "1.0" ) ]
public bool select_sync (string unique_id, Cancellable? cancellable = null) throws Error

Synchronously selects a firmware image to boot.

Warning:

The modem will possibly disappear once this action is run, as it needs to reboot in order to select the new image.

The calling thread is blocked until a reply is received. See select for the asynchronous version of this method.

Parameters:

this

A ModemFirmware.

unique_id

Unique ID of the firmware image to select.

cancellable

A Cancellable or null.

Returns:

true if the selection was successful, false if error is set.




2022 vala-language.org