ModemManager.SimPreferredNetwork

Fields

None

Methods

class

new ()

free ()

get_access_technology ()

get_operator_code ()

set_access_technology (access_technology)

set_operator_code (operator_code)

Details

class ModemManager.SimPreferredNetwork

The ModemManager.SimPreferredNetwork structure contains private data and should only be accessed using the provided API.

classmethod new()
Returns:

a ModemManager.SimPreferredNetwork. The returned value should be freed with ModemManager.SimPreferredNetwork.free().

Return type:

ModemManager.SimPreferredNetwork

Creates a new empty ModemManager.SimPreferredNetwork.

New in version 1.18.

free()

Frees a ModemManager.SimPreferredNetwork.

New in version 1.18.

get_access_technology()
Returns:

A ModemManager.ModemAccessTechnology.

Return type:

ModemManager.ModemAccessTechnology

Get the access technology mask of the preferred network.

New in version 1.18.

get_operator_code()
Returns:

The operator code, or None if none available.

Return type:

str

Get the operator code (MCCMNC) of the preferred network.

New in version 1.18.

set_access_technology(access_technology)
Parameters:

access_technology (ModemManager.ModemAccessTechnology) – A ModemManager.ModemAccessTechnology mask.

Set the desired access technologies of this preferred network entry.

New in version 1.18.

set_operator_code(operator_code)
Parameters:

operator_code (str) – Operator code

Set the operator code (MCCMNC) of this preferred network.

New in version 1.18.