[ Version ( since = "1.0" ) ]
public unowned UnlockRetries peek_unlock_retries ()
Gets a UnlockRetries object, which provides, for each MMModemLock handled by the modem, the number of PIN tries remaining before the code becomes blocked (requiring a PUK) or permanently blocked.
The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use get_unlock_retries if on another thread.
this |
A Modem. |
A UnlockRetries. Do not free the returned value, it belongs to this. |