enable_pin_sync


Description:

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

Synchronously enables requesting the PIN code in the SIM card.

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

Parameters:

this

A Sim.

pin

The PIN code.

cancellable

A Cancellable or null.

Returns:

true if the operation succeeded, false if error is set.




2022 vala-language.org