Functions¶
Details¶
- ModemManager.bearer_access_type_preference_get_string(val)¶
- Parameters:
val (
ModemManager.BearerAccessTypePreference
) – aModemManager.BearerAccessTypePreference
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.BearerAccessTypePreference
specified at val.
- ModemManager.bearer_allowed_auth_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.BearerAllowedAuth
) – bitmask ofModemManager.BearerAllowedAuth
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.BearerAllowedAuth
in mask.
- ModemManager.bearer_apn_type_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.BearerApnType
) – bitmask ofModemManager.BearerApnType
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.BearerApnType
in mask.
- ModemManager.bearer_ip_family_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.BearerIpFamily
) – bitmask ofModemManager.BearerIpFamily
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.BearerIpFamily
in mask.
- ModemManager.bearer_ip_method_get_string(val)¶
- Parameters:
val (
ModemManager.BearerIpMethod
) – aModemManager.BearerIpMethod
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.BearerIpMethod
specified at val.
- ModemManager.bearer_multiplex_support_get_string(val)¶
- Parameters:
val (
ModemManager.BearerMultiplexSupport
) – aModemManager.BearerMultiplexSupport
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.BearerMultiplexSupport
specified at val.
- ModemManager.bearer_profile_source_get_string(val)¶
- Parameters:
val (
ModemManager.BearerProfileSource
) – aModemManager.BearerProfileSource
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.BearerProfileSource
specified at val.
- ModemManager.bearer_roaming_allowance_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.BearerRoamingAllowance
) – bitmask ofModemManager.BearerRoamingAllowance
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.BearerRoamingAllowance
in mask.
- ModemManager.bearer_type_get_string(val)¶
- Parameters:
val (
ModemManager.BearerType
) – aModemManager.BearerType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.BearerType
specified at val.
- ModemManager.call_direction_get_string(val)¶
- Parameters:
val (
ModemManager.CallDirection
) – aModemManager.CallDirection
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.CallDirection
specified at val.
- ModemManager.call_state_get_string(val)¶
- Parameters:
val (
ModemManager.CallState
) – aModemManager.CallState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.CallState
specified at val.
- ModemManager.call_state_reason_get_string(val)¶
- Parameters:
val (
ModemManager.CallStateReason
) – aModemManager.CallStateReason
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.CallStateReason
specified at val.
- ModemManager.cell_type_get_string(val)¶
- Parameters:
val (
ModemManager.CellType
) – aModemManager.CellType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.CellType
specified at val.
- ModemManager.firmware_image_type_get_string(val)¶
- Parameters:
val (
ModemManager.FirmwareImageType
) – aModemManager.FirmwareImageType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.FirmwareImageType
specified at val.
- ModemManager.gdbus_bearer_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Bearer [gdbus-interface-org-freedesktop-ModemManager1-Bearer.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_bearer_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusBearer
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_call_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Call [gdbus-interface-org-freedesktop-ModemManager1-Call.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_call_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusCall
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem3gpp_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Modem3gpp [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem3gpp_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModem3gpp
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem3gpp_profile_manager_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Modem3gpp.ProfileManager [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp-ProfileManager.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem3gpp_profile_manager_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModem3gppProfileManager
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem3gpp_ussd_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd [gdbus-interface-org-freedesktop-ModemManager1-Modem-Modem3gpp-Ussd.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem3gpp_ussd_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModem3gppUssd
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_cdma_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.ModemCdma [gdbus-interface-org-freedesktop-ModemManager1-Modem-ModemCdma.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_cdma_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemCdma
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_firmware_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Firmware [gdbus-interface-org-freedesktop-ModemManager1-Modem-Firmware.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_firmware_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemFirmware
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem [gdbus-interface-org-freedesktop-ModemManager1-Modem.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_location_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Location [gdbus-interface-org-freedesktop-ModemManager1-Modem-Location.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_location_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemLocation
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_messaging_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Messaging [gdbus-interface-org-freedesktop-ModemManager1-Modem-Messaging.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_messaging_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemMessaging
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_oma_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Oma [gdbus-interface-org-freedesktop-ModemManager1-Modem-Oma.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_oma_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemOma
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModem
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_sar_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Sar [gdbus-interface-org-freedesktop-ModemManager1-Modem-Sar.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_sar_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemSar
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_signal_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Signal [gdbus-interface-org-freedesktop-ModemManager1-Modem-Signal.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_signal_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemSignal
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_simple_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Simple [gdbus-interface-org-freedesktop-ModemManager1-Modem-Simple.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_simple_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemSimple
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_time_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Time [gdbus-interface-org-freedesktop-ModemManager1-Modem-Time.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_time_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemTime
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_modem_voice_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Modem.Voice [gdbus-interface-org-freedesktop-ModemManager1-Modem-Voice.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_modem_voice_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusModemVoice
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_org_freedesktop_modem_manager1_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1 [gdbus-interface-org-freedesktop-ModemManager1.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_org_freedesktop_modem_manager1_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusOrgFreedesktopModemManager1
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_sim_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Sim [gdbus-interface-org-freedesktop-ModemManager1-Sim.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_sim_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusSim
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.gdbus_sms_interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.ModemManager1.Sms [gdbus-interface-org-freedesktop-ModemManager1-Sms.top_of_page]’ D-Bus interface.
- ModemManager.gdbus_sms_override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theModemManager.GdbusSms
interface for a concrete class. The properties are overridden in the order they are defined.
- ModemManager.modem_3gpp_drx_cycle_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppDrxCycle
) – aModemManager.Modem3gppDrxCycle
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppDrxCycle
specified at val.
- ModemManager.modem_3gpp_eps_ue_mode_operation_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppEpsUeModeOperation
) – aModemManager.Modem3gppEpsUeModeOperation
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppEpsUeModeOperation
specified at val.
- ModemManager.modem_3gpp_facility_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.Modem3gppFacility
) – bitmask ofModemManager.Modem3gppFacility
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.Modem3gppFacility
in mask.
- ModemManager.modem_3gpp_mico_mode_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppMicoMode
) – aModemManager.Modem3gppMicoMode
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppMicoMode
specified at val.
- ModemManager.modem_3gpp_network_availability_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppNetworkAvailability
) – aModemManager.Modem3gppNetworkAvailability
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppNetworkAvailability
specified at val.
- ModemManager.modem_3gpp_packet_service_state_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppPacketServiceState
) – aModemManager.Modem3gppPacketServiceState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppPacketServiceState
specified at val.
- ModemManager.modem_3gpp_registration_state_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppRegistrationState
) – aModemManager.Modem3gppRegistrationState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppRegistrationState
specified at val.
- ModemManager.modem_3gpp_subscription_state_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppSubscriptionState
) – aModemManager.Modem3gppSubscriptionState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppSubscriptionState
specified at val.
- ModemManager.modem_3gpp_ussd_session_state_get_string(val)¶
- Parameters:
val (
ModemManager.Modem3gppUssdSessionState
) – aModemManager.Modem3gppUssdSessionState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.Modem3gppUssdSessionState
specified at val.
- ModemManager.modem_access_technology_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemAccessTechnology
) – bitmask ofModemManager.ModemAccessTechnology
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemAccessTechnology
in mask.
- ModemManager.modem_band_get_string(val)¶
- Parameters:
val (
ModemManager.ModemBand
) – aModemManager.ModemBand
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemBand
specified at val.
- ModemManager.modem_capability_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemCapability
) – bitmask ofModemManager.ModemCapability
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemCapability
in mask.
- ModemManager.modem_cdma_activation_state_get_string(val)¶
- Parameters:
val (
ModemManager.ModemCdmaActivationState
) – aModemManager.ModemCdmaActivationState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemCdmaActivationState
specified at val.
- ModemManager.modem_cdma_registration_state_get_string(val)¶
- Parameters:
val (
ModemManager.ModemCdmaRegistrationState
) – aModemManager.ModemCdmaRegistrationState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemCdmaRegistrationState
specified at val.
- ModemManager.modem_cdma_rm_protocol_get_string(val)¶
- Parameters:
val (
ModemManager.ModemCdmaRmProtocol
) – aModemManager.ModemCdmaRmProtocol
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemCdmaRmProtocol
specified at val.
- ModemManager.modem_contacts_storage_get_string(val)¶
- Parameters:
val (
ModemManager.ModemContactsStorage
) – aModemManager.ModemContactsStorage
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemContactsStorage
specified at val.
- ModemManager.modem_firmware_update_method_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemFirmwareUpdateMethod
) – bitmask ofModemManager.ModemFirmwareUpdateMethod
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemFirmwareUpdateMethod
in mask.
- ModemManager.modem_location_assistance_data_type_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemLocationAssistanceDataType
) – bitmask ofModemManager.ModemLocationAssistanceDataType
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemLocationAssistanceDataType
in mask.
- ModemManager.modem_location_source_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemLocationSource
) – bitmask ofModemManager.ModemLocationSource
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemLocationSource
in mask.
- ModemManager.modem_lock_get_string(val)¶
- Parameters:
val (
ModemManager.ModemLock
) – aModemManager.ModemLock
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemLock
specified at val.
- ModemManager.modem_mode_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.ModemMode
) – bitmask ofModemManager.ModemMode
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.ModemMode
in mask.
- ModemManager.modem_port_type_get_string(val)¶
- Parameters:
val (
ModemManager.ModemPortType
) – aModemManager.ModemPortType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemPortType
specified at val.
- ModemManager.modem_power_state_get_string(val)¶
- Parameters:
val (
ModemManager.ModemPowerState
) – aModemManager.ModemPowerState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemPowerState
specified at val.
- ModemManager.modem_state_change_reason_get_string(val)¶
- Parameters:
val (
ModemManager.ModemStateChangeReason
) – aModemManager.ModemStateChangeReason
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemStateChangeReason
specified at val.
- ModemManager.modem_state_failed_reason_get_string(val)¶
- Parameters:
val (
ModemManager.ModemStateFailedReason
) – aModemManager.ModemStateFailedReason
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemStateFailedReason
specified at val.
- ModemManager.modem_state_get_string(val)¶
- Parameters:
val (
ModemManager.ModemState
) – aModemManager.ModemState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ModemState
specified at val.
- ModemManager.oma_feature_build_string_from_mask(mask)¶
- Parameters:
mask (
ModemManager.OmaFeature
) – bitmask ofModemManager.OmaFeature
values.- Returns:
a string with the list of nicknames, or
None
if none given. The returned value should be freed withGLib.free
().- Return type:
Builds a string containing a comma-separated list of nicknames for each
ModemManager.OmaFeature
in mask.
- ModemManager.oma_session_state_failed_reason_get_string(val)¶
- Parameters:
val (
ModemManager.OmaSessionStateFailedReason
) – aModemManager.OmaSessionStateFailedReason
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.OmaSessionStateFailedReason
specified at val.
- ModemManager.oma_session_state_get_string(val)¶
- Parameters:
val (
ModemManager.OmaSessionState
) – aModemManager.OmaSessionState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.OmaSessionState
specified at val.
- ModemManager.oma_session_type_get_string(val)¶
- Parameters:
val (
ModemManager.OmaSessionType
) – aModemManager.OmaSessionType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.OmaSessionType
specified at val.
- ModemManager.serving_cell_type_get_string(val)¶
- Parameters:
val (
ModemManager.ServingCellType
) – aModemManager.ServingCellType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.ServingCellType
specified at val.
- ModemManager.sim_esim_status_get_string(val)¶
- Parameters:
val (
ModemManager.SimEsimStatus
) – aModemManager.SimEsimStatus
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SimEsimStatus
specified at val.
- ModemManager.sim_removability_get_string(val)¶
- Parameters:
val (
ModemManager.SimRemovability
) – aModemManager.SimRemovability
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SimRemovability
specified at val.
- ModemManager.sim_type_get_string(val)¶
- Parameters:
val (
ModemManager.SimType
) – aModemManager.SimType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SimType
specified at val.
- ModemManager.sms_cdma_service_category_get_string(val)¶
- Parameters:
val (
ModemManager.SmsCdmaServiceCategory
) – aModemManager.SmsCdmaServiceCategory
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsCdmaServiceCategory
specified at val.
- ModemManager.sms_cdma_teleservice_id_get_string(val)¶
- Parameters:
val (
ModemManager.SmsCdmaTeleserviceId
) – aModemManager.SmsCdmaTeleserviceId
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsCdmaTeleserviceId
specified at val.
- ModemManager.sms_delivery_state_get_string(val)¶
- Parameters:
val (
ModemManager.SmsDeliveryState
) – aModemManager.SmsDeliveryState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsDeliveryState
specified at val.
- ModemManager.sms_pdu_type_get_string(val)¶
- Parameters:
val (
ModemManager.SmsPduType
) – aModemManager.SmsPduType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsPduType
specified at val.
- ModemManager.sms_state_get_string(val)¶
- Parameters:
val (
ModemManager.SmsState
) – aModemManager.SmsState
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsState
specified at val.
- ModemManager.sms_storage_get_string(val)¶
- Parameters:
val (
ModemManager.SmsStorage
) – aModemManager.SmsStorage
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsStorage
specified at val.
- ModemManager.sms_validity_type_get_string(val)¶
- Parameters:
val (
ModemManager.SmsValidityType
) – aModemManager.SmsValidityType
.- Returns:
a string with the nickname, or
None
if not found. Do not free the returned value.- Return type:
Gets the nickname string for the
ModemManager.SmsValidityType
specified at val.