ModemManager.CdmaManualActivationProperties¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class ModemManager.CdmaManualActivationProperties(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
ModemManager.CdmaManualActivationProperties
structure contains private data and should only be accessed using the provided API.- classmethod new()¶
- Returns:
A
ModemManager.CdmaManualActivationProperties
. The returned value should be freed withGObject.Object.unref
().- Return type:
Creates a new
ModemManager.CdmaManualActivationProperties
object.New in version 1.2.
- get_mdn()¶
- Returns:
The MDN. Do not free the returned value, it is owned by self.
- Return type:
Gets the Mobile Directory Number.
New in version 1.2.
- get_min()¶
- Returns:
The MIN. Do not free the returned value, it is owned by self.
- Return type:
Gets the Mobile Indentification Number.
New in version 1.2.
- get_mn_aaa_key()¶
- Returns:
The MN-AAA key. Do not free the returned value, it is owned by self.
- Return type:
Gets the MN-AAA key.
New in version 1.2.
- get_mn_ha_key()¶
- Returns:
The MN-HA key. Do not free the returned value, it is owned by self.
- Return type:
Gets the MN-HA key.
New in version 1.2.
- get_prl()¶
- Returns:
The PRL. Do not free the returned value, it is owned by self.
- prl_len:
Size of the returned PRL.
- Return type:
Gets the Preferred Roaming List.
New in version 1.2.
- get_prl_bytearray()¶
- Returns:
A
GLib.ByteArray
with the PRL, orNone
if it doesn’t contain any. The returned value should be freed withGLib.ByteArray.unref
().- Return type:
Gets the Preferred Roaming List.
New in version 1.2.
- get_sid()¶
- Returns:
The SID.
- Return type:
Gets the System Identification Number.
New in version 1.2.
- get_spc()¶
- Returns:
The SPC. Do not free the returned value, it is owned by self.
- Return type:
Gets the Service Programming Code.
New in version 1.2.
- peek_prl_bytearray()¶
- Returns:
A
GLib.ByteArray
with the PRL, orNone
if it doesn’t contain any. Do not free the returned value, it is owned by self.- Return type:
Gets the Preferred Roaming List.
New in version 1.2.
- set_mdn(mdn)¶
- Parameters:
mdn (
str
) – The MDN string, maximum 15 characters.- Raises:
- Returns:
True
if the MDN was successfully set, orFalse
if error is set.- Return type:
Sets the Mobile Directory Number.
New in version 1.2.
- set_min(min)¶
- Parameters:
min (
str
) – The MIN string, maximum 15 characters.- Raises:
- Returns:
True
if the MIN was successfully set, orFalse
if error is set.- Return type:
Sets the Mobile Identification Number.
New in version 1.2.
- set_mn_aaa_key(mn_aaa_key)¶
- Parameters:
mn_aaa_key (
str
) – The MN-AAA key string, maximum 16 characters.- Raises:
- Returns:
True
if the MN-AAA key was successfully set, orFalse
if error is set.- Return type:
Sets the Mobile Identification Number.
New in version 1.2.
- set_mn_ha_key(mn_ha_key)¶
- Parameters:
mn_ha_key (
str
) – The MN-HA key string, maximum 16 characters.- Raises:
- Returns:
True
if the MN-HA key was successfully set, orFalse
if error is set.- Return type:
Sets the Mobile Identification Number.
New in version 1.2.
- set_prl(prl, prl_length)¶
- Parameters:
- Raises:
- Returns:
True
if the PRL was successfully set, orFalse
if error is set.- Return type:
Sets the Preferred Roaming List.
New in version 1.2.
- set_prl_bytearray(prl)¶
- Parameters:
prl (
bytes
) – AGLib.ByteArray
with the PRL to set. This method takes a new reference of prl.- Raises:
- Returns:
True
if the PRL was successfully set, orFalse
if error is set.- Return type:
Sets the Preferred Roaming List.
New in version 1.2.