Qmi.MessageLocInjectXtraDataInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageLocInjectXtraDataInput¶
The
Qmi.MessageLocInjectXtraDataInputstructure contains private data and should only be accessed using the provided API.New in version 1.22.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageLocInjectXtraDataInput. The returned value should be freed withQmi.MessageLocInjectXtraDataInput.unref().- Return type:
Allocates a new
Qmi.MessageLocInjectXtraDataInput.New in version 1.22.
- get_part_data()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_part_data:
a placeholder for the output
GLib.Arrayof #guint8 elements, orNoneif not required. Do not free it, it is owned by self.
- Return type:
Get the ‘Part Data’ field from self.
New in version 1.22.
- get_part_number()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_part_number:
a placeholder for the output #guint16, or
Noneif not required.
- Return type:
Get the ‘Part Number’ field from self.
New in version 1.22.
- get_total_parts()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_total_parts:
a placeholder for the output #guint16, or
Noneif not required.
- Return type:
Get the ‘Total Parts’ field from self.
New in version 1.22.
- get_total_size()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_total_size:
a placeholder for the output #guint32, or
Noneif not required.
- Return type:
Get the ‘Total Size’ field from self.
New in version 1.22.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.22.
- set_part_data(value_part_data)¶
- Parameters:
value_part_data (
bytes) – aGLib.Arrayof #guint8 elements. A new reference to value_part_data will be taken, so the caller must make sure the array was created with the correctGLib.DestroyNotifyas clear function for each element in the array.- Raises:
- Returns:
- Return type:
Set the ‘Part Data’ field in the message.
New in version 1.22.
- set_part_number(value_part_number)¶
- Parameters:
value_part_number (
int) – a #guint16.- Raises:
- Returns:
- Return type:
Set the ‘Part Number’ field in the message.
New in version 1.22.
- set_total_parts(value_total_parts)¶
- Parameters:
value_total_parts (
int) – a #guint16.- Raises:
- Returns:
- Return type:
Set the ‘Total Parts’ field in the message.
New in version 1.22.
- set_total_size(value_total_size)¶
- Parameters:
value_total_size (
int) – a #guint32.- Raises:
- Returns:
- Return type:
Set the ‘Total Size’ field in the message.
New in version 1.22.
- 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.22.