send_puk_sync


Description:

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

Synchronously sends the PUK to the SIM card.

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

Parameters:

this

A Sim.

puk

The PUK code.

pin

The PIN code.

cancellable

A Cancellable or null.

Returns:

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




2022 vala-language.org