Qmi.MessageUimSendApduInput

Fields

None

Methods

class

new ()

get_apdu ()

get_channel_id ()

get_procedure_bytes ()

get_slot ()

ref ()

set_apdu (value_apdu)

set_channel_id (value_channel_id)

set_procedure_bytes (value_procedure_bytes)

set_slot (value_slot)

unref ()

Details

class Qmi.MessageUimSendApduInput

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

New in version 1.36.

classmethod new()
Returns:

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

Return type:

Qmi.MessageUimSendApduInput

Allocates a new Qmi.MessageUimSendApduInput.

New in version 1.36.

get_apdu()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_apdu:

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_apdu: bytes)

Get the ‘APDU’ field from self.

New in version 1.36.

get_channel_id()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_channel_id:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_channel_id: int)

Get the ‘Channel ID’ field from self.

New in version 1.36.

get_procedure_bytes()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_procedure_bytes:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_procedure_bytes: int)

Get the ‘Procedure bytes’ field from self.

New in version 1.36.

get_slot()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_slot:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_slot: int)

Get the ‘Slot’ field from self.

New in version 1.36.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageUimSendApduInput

Atomically increments the reference count of self by one.

New in version 1.36.

set_apdu(value_apdu)
Parameters:

value_apdu (bytes) – a GLib.Array of #guint8 elements. A new reference to value_apdu 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 ‘APDU’ field in the message.

New in version 1.36.

set_channel_id(value_channel_id)
Parameters:

value_channel_id (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Channel ID’ field in the message.

New in version 1.36.

set_procedure_bytes(value_procedure_bytes)
Parameters:

value_procedure_bytes (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Procedure bytes’ field in the message.

New in version 1.36.

set_slot(value_slot)
Parameters:

value_slot (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Slot’ field in the message.

New in version 1.36.

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.36.