Qmi.MessageContext¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
Details¶
- class Qmi.MessageContext¶
An opaque type representing a QMI message context.
New in version 1.18.
- classmethod new()¶
- Returns:
a newly created
Qmi.MessageContext
. The returned value should be freed withQmi.MessageContext.unref
().- Return type:
Create a new empty
Qmi.MessageContext
.New in version 1.18.
- get_vendor_id()¶
- Returns:
the vendor ID.
- Return type:
Gets the vendor ID associated to the message.
New in version 1.18.
- ref()¶
- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.18.
- set_vendor_id(vendor_id)¶
- Parameters:
vendor_id (
int
) – the vendor ID.
Sets the vendor ID associated to the message.
New in version 1.18.
- 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.