ModemManager.UnlockRetries

g GObject.Object GObject.Object ModemManager.UnlockRetries ModemManager.UnlockRetries GObject.Object->ModemManager.UnlockRetries

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

foreach (callback, *user_data)

get (lock)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.UnlockRetries(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.UnlockRetriesClass

The ModemManager.UnlockRetries structure contains private data and should only be accessed using the provided API.

foreach(callback, *user_data)
Parameters:

Executes callback for each lock information found in self.

New in version 1.0.

get(lock)
Parameters:

lock (ModemManager.ModemLock) – a ModemManager.ModemLock.

Returns:

the unlock retries or ModemManager.UNLOCK_RETRIES_UNKNOWN if unknown.

Return type:

int

Gets the unlock retries for the given lock.

New in version 1.0.