Qmi.MessagePdcSetSelectedConfigInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessagePdcSetSelectedConfigInput¶
The
Qmi.MessagePdcSetSelectedConfigInput
structure contains private data and should only be accessed using the provided API.New in version 1.18.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessagePdcSetSelectedConfigInput
. The returned value should be freed withQmi.MessagePdcSetSelectedConfigInput.unref
().- Return type:
Allocates a new
Qmi.MessagePdcSetSelectedConfigInput
.New in version 1.18.
- get_token()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_token:
a placeholder for the output #guint32, or
None
if not required.
- Return type:
Get the ‘Token’ field from self.
New in version 1.18.
- get_type_with_id_v2()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_type_with_id_v2_config_type:
a placeholder for the output
Qmi.PdcConfigurationType
, orNone
if not required.- value_type_with_id_v2_id:
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_type_with_id_v2_config_type:Qmi.PdcConfigurationType
, value_type_with_id_v2_id:bytes
)
Get the ‘Type With Id v2’ field from self.
New in version 1.32.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.18.
- set_token(value_token)¶
- Parameters:
value_token (
int
) – a #guint32.- Raises:
- Returns:
- Return type:
Set the ‘Token’ field in the message.
New in version 1.18.
- set_type_with_id_v2(value_type_with_id_v2_config_type, value_type_with_id_v2_id)¶
- Parameters:
value_type_with_id_v2_config_type (
Qmi.PdcConfigurationType
) – aQmi.PdcConfigurationType
.value_type_with_id_v2_id (
bytes
) – aGLib.Array
of #guint8 elements. A new reference to value_type_with_id_v2_id 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 ‘Type With Id v2’ field in the message.
New in version 1.32.
- 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.18.