Qmi.MessageDmsActivateManualInput

Fields

None

Methods

class

new ()

get_info ()

get_mn_aaa_key ()

get_mn_ha_key ()

get_prl ()

ref ()

set_info (value_info_service_programming_code, value_info_system_identification_number, value_info_mobile_directory_number, value_info_mobile_identification_number)

set_mn_aaa_key (value_mn_aaa_key)

set_mn_ha_key (value_mn_ha_key)

set_prl (value_prl_prl_total_length, value_prl_prl_segment_sequence, value_prl_prl_segment)

unref ()

Details

class Qmi.MessageDmsActivateManualInput

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

New in version 1.0.

classmethod new()
Returns:

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

Return type:

Qmi.MessageDmsActivateManualInput

Allocates a new Qmi.MessageDmsActivateManualInput.

New in version 1.0.

get_info()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_info_service_programming_code:

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

value_info_system_identification_number:

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

value_info_mobile_directory_number:

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

value_info_mobile_identification_number:

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

Return type:

(bool, value_info_service_programming_code: str, value_info_system_identification_number: int, value_info_mobile_directory_number: str, value_info_mobile_identification_number: str)

Get the ‘Info’ field from self.

New in version 1.6.

get_mn_aaa_key()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_mn_aaa_key:

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

Return type:

(bool, value_mn_aaa_key: str)

Get the ‘MN AAA key’ field from self.

New in version 1.0.

get_mn_ha_key()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_mn_ha_key:

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

Return type:

(bool, value_mn_ha_key: str)

Get the ‘MN HA key’ field from self.

New in version 1.0.

get_prl()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_prl_prl_total_length:

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

value_prl_prl_segment_sequence:

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

value_prl_prl_segment:

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_prl_prl_total_length: int, value_prl_prl_segment_sequence: int, value_prl_prl_segment: bytes)

Get the ‘PRL’ field from self.

New in version 1.6.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDmsActivateManualInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_info(value_info_service_programming_code, value_info_system_identification_number, value_info_mobile_directory_number, value_info_mobile_identification_number)
Parameters:
  • value_info_service_programming_code (str) – a constant string of exactly 6 characters.

  • value_info_system_identification_number (int) – a #guint16.

  • value_info_mobile_directory_number (str) – a constant string with a maximum length of 15 characters.

  • value_info_mobile_identification_number (str) – a constant string with a maximum length of 15 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Info’ field in the message.

New in version 1.6.

set_mn_aaa_key(value_mn_aaa_key)
Parameters:

value_mn_aaa_key (str) – a constant string with a maximum length of 16 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘MN AAA key’ field in the message.

New in version 1.0.

set_mn_ha_key(value_mn_ha_key)
Parameters:

value_mn_ha_key (str) – a constant string with a maximum length of 16 characters.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘MN HA key’ field in the message.

New in version 1.0.

set_prl(value_prl_prl_total_length, value_prl_prl_segment_sequence, value_prl_prl_segment)
Parameters:
  • value_prl_prl_total_length (int) – a #guint16.

  • value_prl_prl_segment_sequence (int) – the sequence number.

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

New in version 1.6.

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