Qmi.MessageUimChangeProvisioningSessionInput

Fields

None

Methods

class

new ()

get_application_information ()

get_session_change ()

ref ()

set_application_information (value_application_information_slot, value_application_information_application_identifier)

set_session_change (value_session_change_session_type, value_session_change_activate)

unref ()

Details

class Qmi.MessageUimChangeProvisioningSessionInput

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

New in version 1.24.

classmethod new()
Returns:

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

Return type:

Qmi.MessageUimChangeProvisioningSessionInput

Allocates a new Qmi.MessageUimChangeProvisioningSessionInput.

New in version 1.24.

get_application_information()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_application_information_slot:

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

value_application_information_application_identifier:

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_application_information_slot: int, value_application_information_application_identifier: bytes)

Get the ‘Application Information’ field from self.

New in version 1.24.

get_session_change()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_session_change_session_type:

a placeholder for the output Qmi.UimSessionType, or None if not required.

value_session_change_activate:

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

Return type:

(bool, value_session_change_session_type: Qmi.UimSessionType, value_session_change_activate: bool)

Get the ‘Session Change’ field from self.

New in version 1.24.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageUimChangeProvisioningSessionInput

Atomically increments the reference count of self by one.

New in version 1.24.

set_application_information(value_application_information_slot, value_application_information_application_identifier)
Parameters:
  • value_application_information_slot (int) – a #guint8.

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

New in version 1.24.

set_session_change(value_session_change_session_type, value_session_change_activate)
Parameters:
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Session Change’ field in the message.

New in version 1.24.

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