Qmi.MessageUimRefreshRegisterInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
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 withQmi.MessageUimRefreshRegisterInput.unref
().- Return type:
Allocates a new
Qmi.MessageUimRefreshRegisterInput
.New in version 1.28.
- get_info()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_info_register_flag:
- value_info_vote_for_init:
- value_info_files_ptr:
a placeholder for the output array of
Qmi.MessageUimRefreshRegisterInputInfoFilesElement
elements, orNone
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:
- Returns:
True
if the field is found,False
otherwise.- value_session_session_type:
a placeholder for the output
Qmi.UimSessionType
, orNone
if not required.- value_session_application_identifier:
a placeholder for the output
GLib.Array
of #guint8 elements, orNone
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:
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:
value_info_files_ptr ([
Qmi.MessageUimRefreshRegisterInputInfoFilesElement
]) – array ofQmi.MessageUimRefreshRegisterInputInfoFilesElement
elements. The contents of the given array will be copied, theGLib.PtrArray
will not increase its reference count.
- Raises:
- Returns:
- Return type:
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
) – aQmi.UimSessionType
.value_session_application_identifier (
bytes
) – aGLib.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 correctGLib.DestroyNotify
as clear function for each element in the array.
- Raises:
- Returns:
- Return type:
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.