Qmi.MessageWmsRawWriteInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class Qmi.MessageWmsRawWriteInput¶
The
Qmi.MessageWmsRawWriteInput
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.MessageWmsRawWriteInput
. The returned value should be freed withQmi.MessageWmsRawWriteInput.unref
().- Return type:
Allocates a new
Qmi.MessageWmsRawWriteInput
.New in version 1.0.
- get_raw_message_data()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_raw_message_data_storage_type:
a placeholder for the output
Qmi.WmsStorageType
, orNone
if not required.- value_raw_message_data_format:
a placeholder for the output
Qmi.WmsMessageFormat
, orNone
if not required.- value_raw_message_data_raw_data:
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_raw_message_data_storage_type:Qmi.WmsStorageType
, value_raw_message_data_format:Qmi.WmsMessageFormat
, value_raw_message_data_raw_data:bytes
)
Get the ‘Raw Message Data’ field from self.
New in version 1.0.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.0.
- set_raw_message_data(value_raw_message_data_storage_type, value_raw_message_data_format, value_raw_message_data_raw_data)¶
- Parameters:
value_raw_message_data_storage_type (
Qmi.WmsStorageType
) – aQmi.WmsStorageType
.value_raw_message_data_format (
Qmi.WmsMessageFormat
) – aQmi.WmsMessageFormat
.value_raw_message_data_raw_data (
bytes
) – aGLib.Array
of #guint8 elements. A new reference to value_raw_message_data_raw_data 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 ‘Raw Message Data’ field in the message.
New in version 1.0.
- 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.