Qmi.MessageDmsWriteUserDataInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class Qmi.MessageDmsWriteUserDataInput¶
The
Qmi.MessageDmsWriteUserDataInputstructure contains private data and should only be accessed using the provided API.New in version 1.0.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDmsWriteUserDataInput. The returned value should be freed withQmi.MessageDmsWriteUserDataInput.unref().- Return type:
Allocates a new
Qmi.MessageDmsWriteUserDataInput.New in version 1.0.
- get_user_data()¶
- Raises:
- Returns:
Trueif the field is found,Falseotherwise.- value_user_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 ‘User 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_user_data(value_user_data)¶
- Parameters:
value_user_data (
bytes) – aGLib.Arrayof #guint8 elements. A new reference to value_user_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 ‘User 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.