Qmi.MessageUimSwitchSlotInput

Fields

None

Methods

class

new ()

get_logical_slot ()

get_physical_slot ()

ref ()

set_logical_slot (value_logical_slot)

set_physical_slot (value_physical_slot)

unref ()

Details

class Qmi.MessageUimSwitchSlotInput

The Qmi.MessageUimSwitchSlotInput structure contains private data and should only be accessed using the provided API.

New in version 1.26.

classmethod new()
Returns:

the newly created Qmi.MessageUimSwitchSlotInput. The returned value should be freed with Qmi.MessageUimSwitchSlotInput.unref().

Return type:

Qmi.MessageUimSwitchSlotInput

Allocates a new Qmi.MessageUimSwitchSlotInput.

New in version 1.26.

get_logical_slot()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_logical_slot:

a placeholder for the output #guint8, or None if not required.

Return type:

(bool, value_logical_slot: int)

Get the ‘Logical Slot’ field from self.

New in version 1.26.

get_physical_slot()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_physical_slot:

a placeholder for the output #guint32, or None if not required.

Return type:

(bool, value_physical_slot: int)

Get the ‘Physical Slot’ field from self.

New in version 1.26.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageUimSwitchSlotInput

Atomically increments the reference count of self by one.

New in version 1.26.

set_logical_slot(value_logical_slot)
Parameters:

value_logical_slot (int) – a #guint8.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Logical Slot’ field in the message.

New in version 1.26.

set_physical_slot(value_physical_slot)
Parameters:

value_physical_slot (int) – a #guint32.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Physical Slot’ field in the message.

New in version 1.26.

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.26.