Qmi.MessageDsdGetApnInfoInput

Fields

None

Methods

class

new ()

get_apn_type ()

ref ()

set_apn_type (value_apn_type)

unref ()

Details

class Qmi.MessageDsdGetApnInfoInput

The Qmi.MessageDsdGetApnInfoInput 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.MessageDsdGetApnInfoInput. The returned value should be freed with Qmi.MessageDsdGetApnInfoInput.unref().

Return type:

Qmi.MessageDsdGetApnInfoInput

Allocates a new Qmi.MessageDsdGetApnInfoInput.

New in version 1.26.

get_apn_type()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_apn_type:

a placeholder for the output Qmi.DsdApnType, or None if not required.

Return type:

(bool, value_apn_type: Qmi.DsdApnType)

Get the ‘APN Type’ field from self.

New in version 1.26.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessageDsdGetApnInfoInput

Atomically increments the reference count of self by one.

New in version 1.26.

set_apn_type(value_apn_type)
Parameters:

value_apn_type (Qmi.DsdApnType) – a Qmi.DsdApnType.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘APN Type’ 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.