Qmi.MessageDpmOpenPortInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessageDpmOpenPortInput¶
The
Qmi.MessageDpmOpenPortInput
structure contains private data and should only be accessed using the provided API.New in version 1.30.
- classmethod new()¶
- Returns:
the newly created
Qmi.MessageDpmOpenPortInput
. The returned value should be freed withQmi.MessageDpmOpenPortInput.unref
().- Return type:
Allocates a new
Qmi.MessageDpmOpenPortInput
.New in version 1.30.
- get_control_ports()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_control_ports_ptr:
a placeholder for the output array of
Qmi.MessageDpmOpenPortInputControlPortsElement
elements, orNone
if not required. Do not free or modify it, it is owned by self.
- Return type:
(
bool
, value_control_ports_ptr: [Qmi.MessageDpmOpenPortInputControlPortsElement
])
Get the ‘Control Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_control_ports
() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.New in version 1.32.
- get_hardware_data_ports()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_hardware_data_ports_ptr:
a placeholder for the output array of
Qmi.MessageDpmOpenPortInputHardwareDataPortsElement
elements, orNone
if not required. Do not free or modify it, it is owned by self.
- Return type:
(
bool
, value_hardware_data_ports_ptr: [Qmi.MessageDpmOpenPortInputHardwareDataPortsElement
])
Get the ‘Hardware Data Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_hardware_data_ports
() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.New in version 1.32.
- get_software_data_ports()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_software_data_ports_ptr:
a placeholder for the output array of
Qmi.MessageDpmOpenPortInputSoftwareDataPortsElement
elements, orNone
if not required. Do not free or modify it, it is owned by self.
- Return type:
(
bool
, value_software_data_ports_ptr: [Qmi.MessageDpmOpenPortInputSoftwareDataPortsElement
])
Get the ‘Software Data Ports’ field from self.
Version of
Qmi.MessageDpmOpenPortInput.get_software_data_ports
() using arrays of pointers to structs instead of arrays of structs, for easier binding in other languages.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.30.
- set_control_ports(value_control_ports_ptr)¶
- Parameters:
value_control_ports_ptr ([
Qmi.MessageDpmOpenPortInputControlPortsElement
]) – array ofQmi.MessageDpmOpenPortInputControlPortsElement
elements. The contents of the given array will be copied, theGLib.PtrArray
will not increase its reference count.- Raises:
- Returns:
- Return type:
Set the ‘Control Ports’ field in the message.
New in version 1.32.
- set_hardware_data_ports(value_hardware_data_ports_ptr)¶
- Parameters:
value_hardware_data_ports_ptr ([
Qmi.MessageDpmOpenPortInputHardwareDataPortsElement
]) – array ofQmi.MessageDpmOpenPortInputHardwareDataPortsElement
elements. The contents of the given array will be copied, theGLib.PtrArray
will not increase its reference count.- Raises:
- Returns:
- Return type:
Set the ‘Hardware Data Ports’ field in the message.
New in version 1.32.
- set_software_data_ports(value_software_data_ports_ptr)¶
- Parameters:
value_software_data_ports_ptr ([
Qmi.MessageDpmOpenPortInputSoftwareDataPortsElement
]) – array ofQmi.MessageDpmOpenPortInputSoftwareDataPortsElement
elements. The contents of the given array will be copied, theGLib.PtrArray
will not increase its reference count.- Raises:
- Returns:
- Return type:
Set the ‘Software Data Ports’ 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.30.