Qmi.MessageUimRefreshRegisterInput

Fields

None

Methods

class

new ()

get_info ()

get_session ()

ref ()

set_info (value_info_register_flag, value_info_vote_for_init, value_info_files_ptr)

set_session (value_session_session_type, value_session_application_identifier)

unref ()

Details

class Qmi.MessageUimRefreshRegisterInput

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

New in version 1.28.

classmethod new()
Returns:

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

Return type:

Qmi.MessageUimRefreshRegisterInput

Allocates a new Qmi.MessageUimRefreshRegisterInput.

New in version 1.28.

get_info()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_info_register_flag:

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

value_info_vote_for_init:

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

value_info_files_ptr:

a placeholder for the output array of Qmi.MessageUimRefreshRegisterInputInfoFilesElement elements, or None if not required. Do not free or modify it, it is owned by self.

Return type:

(bool, value_info_register_flag: bool, value_info_vote_for_init: bool, value_info_files_ptr: [Qmi.MessageUimRefreshRegisterInputInfoFilesElement])

Get the ‘Info’ field from self.

Version of Qmi.MessageUimRefreshRegisterInput.get_info() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.

New in version 1.32.

get_session()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_session_session_type:

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

value_session_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_session_session_type: Qmi.UimSessionType, value_session_application_identifier: bytes)

Get the ‘Session’ field from self.

New in version 1.28.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageUimRefreshRegisterInput

Atomically increments the reference count of self by one.

New in version 1.28.

set_info(value_info_register_flag, value_info_vote_for_init, value_info_files_ptr)
Parameters:
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.32.

set_session(value_session_session_type, value_session_application_identifier)
Parameters:
  • value_session_session_type (Qmi.UimSessionType) – a Qmi.UimSessionType.

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

New in version 1.28.

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