Qmi.MessagePdsSetAgpsConfigInput¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
Details¶
- class Qmi.MessagePdsSetAgpsConfigInput¶
The
Qmi.MessagePdsSetAgpsConfigInputstructure 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:
Trueif the field is found,Falseotherwise.- value_location_server_url:
a placeholder for the output
GLib.Arrayof #guint8 elements, orNoneif 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:
Trueif the field is found,Falseotherwise.- value_network_mode:
a placeholder for the output
Qmi.PdsNetworkMode, orNoneif 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.Arrayof #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.DestroyNotifyas 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.