Qmi.MessageUimRemoteUnlockInput

Fields

None

Methods

class

new ()

get_simlock_data ()

get_simlock_extended_data ()

ref ()

set_simlock_data (value_simlock_data)

set_simlock_extended_data (value_simlock_extended_data)

unref ()

Details

class Qmi.MessageUimRemoteUnlockInput

The Qmi.MessageUimRemoteUnlockInput structure contains private data and should only be accessed using the provided API.

New in version 1.32.

classmethod new()
Returns:

the newly created Qmi.MessageUimRemoteUnlockInput. The returned value should be freed with Qmi.MessageUimRemoteUnlockInput.unref().

Return type:

Qmi.MessageUimRemoteUnlockInput

Allocates a new Qmi.MessageUimRemoteUnlockInput.

New in version 1.32.

get_simlock_data()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_simlock_data:

a placeholder for the output GLib.Array of #guint8 elements, or None if not required. Do not free it, it is owned by self.

Return type:

(bool, value_simlock_data: bytes)

Get the ‘SimLock Data’ field from self.

New in version 1.32.

get_simlock_extended_data()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_simlock_extended_data:

a placeholder for the output GLib.Array of #guint8 elements, or None if not required. Do not free it, it is owned by self.

Return type:

(bool, value_simlock_extended_data: bytes)

Get the ‘SimLock Extended Data’ field from self.

New in version 1.32.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageUimRemoteUnlockInput

Atomically increments the reference count of self by one.

New in version 1.32.

set_simlock_data(value_simlock_data)
Parameters:

value_simlock_data (bytes) – a GLib.Array of #guint8 elements. A new reference to value_simlock_data will be taken, so the caller must make sure the array was created with the correct GLib.DestroyNotify as clear function for each element in the array.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘SimLock Data’ field in the message.

New in version 1.32.

set_simlock_extended_data(value_simlock_extended_data)
Parameters:

value_simlock_extended_data (bytes) – a GLib.Array of #guint8 elements. A new reference to value_simlock_extended_data will be taken, so the caller must make sure the array was created with the correct GLib.DestroyNotify as clear function for each element in the array.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘SimLock Extended Data’ field in the message.

New in version 1.32.

unref()

Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

New in version 1.32.