Qmi.MessagePdsSetAgpsConfigInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
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 withQmi.MessagePdsSetAgpsConfigInput.unref
().- Return type:
Allocates a new
Qmi.MessagePdsSetAgpsConfigInput
.New in version 1.12.
- get_location_server_address()¶
- Raises:
- Returns:
- 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:
- Returns:
True
if the field is found,False
otherwise.- value_location_server_url:
a placeholder for the output
GLib.Array
of #guint8 elements, orNone
if not required. Do not free it, it is owned by self.
- Return type:
Get the ‘Location Server URL’ field from self.
New in version 1.12.
- get_network_mode()¶
- Raises:
- Returns:
True
if the field is found,False
otherwise.- value_network_mode:
a placeholder for the output
Qmi.PdsNetworkMode
, orNone
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:
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:
- Raises:
- Returns:
- Return type:
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
) – aGLib.Array
of #guint8 elements. A new reference to value_location_server_url will be taken, so the caller must make sure the array was created with the correctGLib.DestroyNotify
as clear function for each element in the array.- Raises:
- Returns:
- Return type:
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
) – aQmi.PdsNetworkMode
.- Raises:
- Returns:
- Return type:
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.