Qmi.MessagePdsSetGpsServiceStateInput

Fields

None

Methods

class

new ()

get_state ()

ref ()

set_state (value_state_gps_service_state)

unref ()

Details

class Qmi.MessagePdsSetGpsServiceStateInput

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

New in version 1.0.

classmethod new()
Returns:

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

Return type:

Qmi.MessagePdsSetGpsServiceStateInput

Allocates a new Qmi.MessagePdsSetGpsServiceStateInput.

New in version 1.0.

get_state()
Raises:

GLib.Error

Returns:

True if the field is found, False otherwise.

value_state_gps_service_state:

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

Return type:

(bool, value_state_gps_service_state: bool)

Get the ‘State’ field from self.

New in version 1.0.

ref()
Returns:

the new reference to self.

Return type:

Qmi.MessagePdsSetGpsServiceStateInput

Atomically increments the reference count of self by one.

New in version 1.0.

set_state(value_state_gps_service_state)
Parameters:

value_state_gps_service_state (bool) – a bool.

Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

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