ModemManager.CdmaManualActivationProperties¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new() | 
| get_mdn() | |
| get_min() | |
| get_mn_aaa_key() | |
| get_mn_ha_key() | |
| get_prl() | |
| get_prl_bytearray() | |
| get_sid() | |
| get_spc() | |
| peek_prl_bytearray() | |
| set_mdn(mdn) | |
| set_min(min) | |
| set_mn_aaa_key(mn_aaa_key) | |
| set_mn_ha_key(mn_ha_key) | |
| set_prl(prl, prl_length) | |
| set_prl_bytearray(prl) | |
| set_sid(sid) | |
| set_spc(spc) | 
Virtual Methods¶
| Inherited: | GObject.Object (7) | 
|---|
Properties¶
None
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class ModemManager.CdmaManualActivationProperties(**kwargs)¶
- Bases: - GObject.Object- Abstract: - No - Structure: - ModemManager.CdmaManualActivationPropertiesClass- The - ModemManager.CdmaManualActivationPropertiesstructure contains private data and should only be accessed using the provided API.- 
classmethod new()¶
- Returns: - A - ModemManager.CdmaManualActivationProperties. The returned value should be freed with- GObject.Object.unref().- Return type: - ModemManager.CdmaManualActivationProperties- Creates a new - ModemManager.CdmaManualActivationPropertiesobject.- New in version 1.2. 
 - 
get_mdn()¶
- Returns: - The MDN. Do not free the returned value, it is owned by self. - Return type: - str- 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: - str- 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: - str- 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: - str- 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: - ( - int, prl_len:- int)- Gets the Preferred Roaming List. - New in version 1.2. 
 - 
get_prl_bytearray()¶
- Returns: - A - GLib.ByteArraywith the PRL, or- Noneif it doesn’t contain any. The returned value should be freed with- GLib.ByteArray.unref().- Return type: - bytes- Gets the Preferred Roaming List. - New in version 1.2. 
 - 
get_sid()¶
- Returns: - The SID. - Return type: - int- 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: - str- Gets the Service Programming Code. - New in version 1.2. 
 - 
peek_prl_bytearray()¶
- Returns: - A - GLib.ByteArraywith the PRL, or- Noneif it doesn’t contain any. Do not free the returned value, it is owned by self.- Return type: - bytes- Gets the Preferred Roaming List. - New in version 1.2. 
 - 
set_mdn(mdn)¶
- Parameters: - mdn ( - str) – The MDN string, maximum 15 characters.- Raises: - GLib.Error- Returns: - Trueif the MDN was successfully set, or- Falseif error is set.- Return type: - bool- Sets the Mobile Directory Number. - New in version 1.2. 
 - 
set_min(min)¶
- Parameters: - min ( - str) – The MIN string, maximum 15 characters.- Raises: - GLib.Error- Returns: - Trueif the MIN was successfully set, or- Falseif error is set.- Return type: - bool- 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: - GLib.Error- Returns: - Trueif the MN-AAA key was successfully set, or- Falseif error is set.- Return type: - bool- 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: - GLib.Error- Returns: - Trueif the MN-HA key was successfully set, or- Falseif error is set.- Return type: - bool- Sets the Mobile Identification Number. - New in version 1.2. 
 - 
set_prl(prl, prl_length)¶
- Parameters: - Raises: - Returns: - Trueif the PRL was successfully set, or- Falseif error is set.- Return type: - Sets the Preferred Roaming List. - New in version 1.2. 
 - 
set_prl_bytearray(prl)¶
- Parameters: - prl ( - bytes) – A- GLib.ByteArraywith the PRL to set. This method takes a new reference of prl.- Raises: - GLib.Error- Returns: - Trueif the PRL was successfully set, or- Falseif error is set.- Return type: - bool- Sets the Preferred Roaming List. - New in version 1.2. 
 
- 
classmethod