Qmi.MessagePdsSetAgpsConfigInput

Fields

None

Methods

class new ()
  get_location_server_address ()
  get_location_server_url ()
  get_network_mode ()
  ref ()
  set_location_server_address (value_location_server_address_ip, value_location_server_address_port)
  set_location_server_url (value_location_server_url)
  set_network_mode (value_network_mode)
  unref ()

Details

class Qmi.MessagePdsSetAgpsConfigInput

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

New in version 1.12.

classmethod new()
Returns:the newly created Qmi.MessagePdsSetAgpsConfigInput. The returned value should be freed with Qmi.MessagePdsSetAgpsConfigInput.unref().
Return type:Qmi.MessagePdsSetAgpsConfigInput

Allocates a new Qmi.MessagePdsSetAgpsConfigInput.

New in version 1.12.

get_location_server_address()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_location_server_address_ip:
 a placeholder for the output #guint32, or None if not required.
value_location_server_address_port:
 a placeholder for the output #guint32, or None if not required.
Return type:(bool, value_location_server_address_ip: int, value_location_server_address_port: int)

Get the ‘Location Server Address’ field from self.

New in version 1.12.

get_location_server_url()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_location_server_url:
 a placeholder for the output GLib.Array of #guint8 elements, or None if not required. Do not free it, it is owned by self.
Return type:(bool, value_location_server_url: bytes)

Get the ‘Location Server URL’ field from self.

New in version 1.12.

get_network_mode()
Raises:GLib.Error
Returns:True if the field is found, False otherwise.
value_network_mode:
 a placeholder for the output Qmi.PdsNetworkMode, or None if not required.
Return type:(bool, value_network_mode: Qmi.PdsNetworkMode)

Get the ‘Network Mode’ field from self.

New in version 1.12.

ref()
Returns:the new reference to self.
Return type:Qmi.MessagePdsSetAgpsConfigInput

Atomically increments the reference count of self by one.

New in version 1.12.

set_location_server_address(value_location_server_address_ip, value_location_server_address_port)
Parameters:
  • value_location_server_address_ip (int) – a #guint32.
  • value_location_server_address_port (int) – a #guint32.
Raises:

GLib.Error

Returns:

True if value was successfully set, False otherwise.

Return type:

bool

Set the ‘Location Server Address’ field in the message.

New in version 1.12.

set_location_server_url(value_location_server_url)
Parameters:value_location_server_url (bytes) – a GLib.Array of #guint8 elements. A new reference to value_location_server_url will be taken.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Location Server URL’ field in the message.

New in version 1.12.

set_network_mode(value_network_mode)
Parameters:value_network_mode (Qmi.PdsNetworkMode) – a Qmi.PdsNetworkMode.
Raises:GLib.Error
Returns:True if value was successfully set, False otherwise.
Return type:bool

Set the ‘Network Mode’ field in the message.

New in version 1.12.

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