Functions¶
Details¶
- Qmi.core_error_get_string(val)¶
- Parameters:
val (
Qmi.CoreError
) – aQmi.CoreError
.- 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
Qmi.CoreError
specified at val.New in version 1.0.
- Qmi.data_endpoint_type_get_string(val)¶
- Parameters:
val (
Qmi.DataEndpointType
) – aQmi.DataEndpointType
.- 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
Qmi.DataEndpointType
specified at val.New in version 1.18.
- Qmi.device_add_link_flags_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DeviceAddLinkFlags
) – bitmask ofQmi.DeviceAddLinkFlags
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
Qmi.DeviceAddLinkFlags
in mask.New in version 1.30.
- Qmi.device_expected_data_format_get_string(val)¶
- Parameters:
val (
Qmi.DeviceExpectedDataFormat
) – aQmi.DeviceExpectedDataFormat
.- 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
Qmi.DeviceExpectedDataFormat
specified at val.New in version 1.14.
- Qmi.device_open_flags_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DeviceOpenFlags
) – bitmask ofQmi.DeviceOpenFlags
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
Qmi.DeviceOpenFlags
in mask.New in version 1.0.
- Qmi.device_release_client_flags_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DeviceReleaseClientFlags
) – bitmask ofQmi.DeviceReleaseClientFlags
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
Qmi.DeviceReleaseClientFlags
in mask.New in version 1.0.
- Qmi.dms_activation_state_get_string(val)¶
- Parameters:
val (
Qmi.DmsActivationState
) – aQmi.DmsActivationState
.- 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
Qmi.DmsActivationState
specified at val.New in version 1.0.
- Qmi.dms_band_capability_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DmsBandCapability
) – bitmask ofQmi.DmsBandCapability
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
Qmi.DmsBandCapability
in mask.New in version 1.0.
- Qmi.dms_boot_image_download_mode_get_string(val)¶
- Parameters:
val (
Qmi.DmsBootImageDownloadMode
) – aQmi.DmsBootImageDownloadMode
.- 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
Qmi.DmsBootImageDownloadMode
specified at val.New in version 1.18.
- Qmi.dms_data_service_capability_get_string(val)¶
- Parameters:
val (
Qmi.DmsDataServiceCapability
) – aQmi.DmsDataServiceCapability
.- 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
Qmi.DmsDataServiceCapability
specified at val.New in version 1.0.
- Qmi.dms_firmware_image_type_get_string(val)¶
- Parameters:
val (
Qmi.DmsFirmwareImageType
) – aQmi.DmsFirmwareImageType
.- 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
Qmi.DmsFirmwareImageType
specified at val.New in version 1.0.
- Qmi.dms_foxconn_device_mode_get_string(val)¶
- Parameters:
val (
Qmi.DmsFoxconnDeviceMode
) – aQmi.DmsFoxconnDeviceMode
.- 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
Qmi.DmsFoxconnDeviceMode
specified at val.New in version 1.26.
- Qmi.dms_foxconn_firmware_version_type_get_string(val)¶
- Parameters:
val (
Qmi.DmsFoxconnFirmwareVersionType
) – aQmi.DmsFoxconnFirmwareVersionType
.- 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
Qmi.DmsFoxconnFirmwareVersionType
specified at val.New in version 1.26.
- Qmi.dms_hp_device_mode_get_string(val)¶
- Parameters:
val (
Qmi.DmsHpDeviceMode
) – aQmi.DmsHpDeviceMode
.- 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
Qmi.DmsHpDeviceMode
specified at val.New in version 1.18.
- Qmi.dms_lte_band_capability_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DmsLteBandCapability
) – bitmask ofQmi.DmsLteBandCapability
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
Qmi.DmsLteBandCapability
in mask.New in version 1.0.
- Qmi.dms_mac_type_get_string(val)¶
- Parameters:
val (
Qmi.DmsMacType
) – aQmi.DmsMacType
.- 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
Qmi.DmsMacType
specified at val.New in version 1.26.
- Qmi.dms_offline_reason_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DmsOfflineReason
) – bitmask ofQmi.DmsOfflineReason
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
Qmi.DmsOfflineReason
in mask.New in version 1.0.
- Qmi.dms_operating_mode_get_string(val)¶
- Parameters:
val (
Qmi.DmsOperatingMode
) – aQmi.DmsOperatingMode
.- 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
Qmi.DmsOperatingMode
specified at val.New in version 1.0.
- Qmi.dms_power_state_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DmsPowerState
) – bitmask ofQmi.DmsPowerState
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
Qmi.DmsPowerState
in mask.New in version 1.0.
- Qmi.dms_radio_interface_get_string(val)¶
- Parameters:
val (
Qmi.DmsRadioInterface
) – aQmi.DmsRadioInterface
.- 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
Qmi.DmsRadioInterface
specified at val.New in version 1.0.
- Qmi.dms_sim_capability_get_string(val)¶
- Parameters:
val (
Qmi.DmsSimCapability
) – aQmi.DmsSimCapability
.- 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
Qmi.DmsSimCapability
specified at val.New in version 1.0.
- Qmi.dms_swi_usb_composition_get_description(value)¶
- Parameters:
value (
Qmi.DmsSwiUsbComposition
) – aQmi.DmsSwiUsbComposition
.- Returns:
a string.
- Return type:
Gets a text description of the Sierra Wireless USB composition.
New in version 1.20.
- Qmi.dms_swi_usb_composition_get_string(val)¶
- Parameters:
val (
Qmi.DmsSwiUsbComposition
) – aQmi.DmsSwiUsbComposition
.- 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
Qmi.DmsSwiUsbComposition
specified at val.New in version 1.20.
- Qmi.dms_time_reference_type_get_string(val)¶
- Parameters:
val (
Qmi.DmsTimeReferenceType
) – aQmi.DmsTimeReferenceType
.- 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
Qmi.DmsTimeReferenceType
specified at val.New in version 1.0.
- Qmi.dms_time_source_get_string(val)¶
- Parameters:
val (
Qmi.DmsTimeSource
) – aQmi.DmsTimeSource
.- 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
Qmi.DmsTimeSource
specified at val.New in version 1.0.
- Qmi.dms_uim_facility_get_string(val)¶
- Parameters:
val (
Qmi.DmsUimFacility
) – aQmi.DmsUimFacility
.- 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
Qmi.DmsUimFacility
specified at val.New in version 1.0.
- Qmi.dms_uim_facility_state_get_string(val)¶
- Parameters:
val (
Qmi.DmsUimFacilityState
) – aQmi.DmsUimFacilityState
.- 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
Qmi.DmsUimFacilityState
specified at val.New in version 1.0.
- Qmi.dms_uim_pin_id_get_string(val)¶
- Parameters:
val (
Qmi.DmsUimPinId
) – aQmi.DmsUimPinId
.- 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
Qmi.DmsUimPinId
specified at val.New in version 1.0.
- Qmi.dms_uim_pin_status_get_string(val)¶
- Parameters:
val (
Qmi.DmsUimPinStatus
) – aQmi.DmsUimPinStatus
.- 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
Qmi.DmsUimPinStatus
specified at val.New in version 1.0.
- Qmi.dms_uim_state_get_string(val)¶
- Parameters:
val (
Qmi.DmsUimState
) – aQmi.DmsUimState
.- 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
Qmi.DmsUimState
specified at val.New in version 1.0.
- Qmi.dsd_apn_type_get_string(val)¶
- Parameters:
val (
Qmi.DsdApnType
) – aQmi.DsdApnType
.- 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
Qmi.DsdApnType
specified at val.New in version 1.26.
- Qmi.dsd_apn_type_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DsdApnTypePreference
) – bitmask ofQmi.DsdApnTypePreference
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
Qmi.DsdApnTypePreference
in mask.New in version 1.26.
- Qmi.dsd_data_system_network_type_get_string(val)¶
- Parameters:
val (
Qmi.DsdDataSystemNetworkType
) – aQmi.DsdDataSystemNetworkType
.- 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
Qmi.DsdDataSystemNetworkType
specified at val.New in version 1.32.
- Qmi.dsd_radio_access_technology_get_string(val)¶
- Parameters:
val (
Qmi.DsdRadioAccessTechnology
) – aQmi.DsdRadioAccessTechnology
.- 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
Qmi.DsdRadioAccessTechnology
specified at val.New in version 1.32.
- Qmi.dsd_so_mask_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.DsdSoMask
) – bitmask ofQmi.DsdSoMask
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
Qmi.DsdSoMask
in mask.New in version 1.32.
- Qmi.endian_get_string(val)¶
- Parameters:
val (
Qmi.Endian
) – aQmi.Endian
.- 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
Qmi.Endian
specified at val.New in version 1.28.
- Qmi.fox_firmware_version_type_get_string(val)¶
- Parameters:
val (
Qmi.FoxFirmwareVersionType
) – aQmi.FoxFirmwareVersionType
.- 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
Qmi.FoxFirmwareVersionType
specified at val.New in version 1.32.
- Qmi.gas_firmware_listing_mode_get_string(val)¶
- Parameters:
val (
Qmi.GasFirmwareListingMode
) – aQmi.GasFirmwareListingMode
.- 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
Qmi.GasFirmwareListingMode
specified at val.New in version 1.24.
- Qmi.gas_usb_composition_endpoint_type_get_string(val)¶
- Parameters:
val (
Qmi.GasUsbCompositionEndpointType
) – aQmi.GasUsbCompositionEndpointType
.- 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
Qmi.GasUsbCompositionEndpointType
specified at val.New in version 1.32.
- Qmi.imsa_ims_registration_status_get_string(val)¶
- Parameters:
val (
Qmi.ImsaImsRegistrationStatus
) – aQmi.ImsaImsRegistrationStatus
.- 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
Qmi.ImsaImsRegistrationStatus
specified at val.New in version 1.34.
- Qmi.imsa_registration_technology_get_string(val)¶
- Parameters:
val (
Qmi.ImsaRegistrationTechnology
) – aQmi.ImsaRegistrationTechnology
.- 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
Qmi.ImsaRegistrationTechnology
specified at val.New in version 1.34.
- Qmi.imsa_service_status_get_string(val)¶
- Parameters:
val (
Qmi.ImsaServiceStatus
) – aQmi.ImsaServiceStatus
.- 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
Qmi.ImsaServiceStatus
specified at val.New in version 1.34.
- Qmi.imsp_enabler_state_get_string(val)¶
- Parameters:
val (
Qmi.ImspEnablerState
) – aQmi.ImspEnablerState
.- 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
Qmi.ImspEnablerState
specified at val.New in version 1.34.
- Qmi.indication_atr_received_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationAtrReceivedOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationAtrReceivedOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationAtrReceivedOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_dms_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationDmsEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationDmsEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationDmsEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_dsd_system_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationDsdSystemStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationDsdSystemStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationDsdSystemStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_delete_assistance_data_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocDeleteAssistanceDataOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocDeleteAssistanceDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocDeleteAssistanceDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_engine_state_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocEngineStateOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocEngineStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocEngineStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_fix_recurrence_type_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocFixRecurrenceTypeOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocFixRecurrenceTypeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocFixRecurrenceTypeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_get_engine_lock_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGetEngineLockOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGetEngineLockOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGetEngineLockOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_get_nmea_types_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGetNmeaTypesOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGetNmeaTypesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGetNmeaTypesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_get_operation_mode_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGetOperationModeOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGetOperationModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGetOperationModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_get_predicted_orbits_data_source_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGetPredictedOrbitsDataSourceOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGetPredictedOrbitsDataSourceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGetPredictedOrbitsDataSourceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_get_server_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGetServerOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGetServerOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGetServerOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_gnss_sv_info_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocGnssSvInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocGnssSvInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocGnssSvInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_inject_predicted_orbits_data_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocInjectPredictedOrbitsDataOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocInjectPredictedOrbitsDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocInjectPredictedOrbitsDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_inject_xtra_data_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocInjectXtraDataOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocInjectXtraDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocInjectXtraDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_nmea_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocNmeaOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocNmeaOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocNmeaOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_position_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocPositionReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocPositionReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocPositionReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_set_engine_lock_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocSetEngineLockOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocSetEngineLockOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocSetEngineLockOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_set_nmea_types_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocSetNmeaTypesOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocSetNmeaTypesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocSetNmeaTypesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_set_operation_mode_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocSetOperationModeOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocSetOperationModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocSetOperationModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_loc_set_server_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationLocSetServerOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationLocSetServerOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationLocSetServerOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_network_reject_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasNetworkRejectOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasNetworkRejectOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasNetworkRejectOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_network_time_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasNetworkTimeOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasNetworkTimeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasNetworkTimeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_operator_name_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasOperatorNameOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasOperatorNameOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasOperatorNameOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_serving_system_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasServingSystemOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasServingSystemOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasServingSystemOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_signal_info_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasSignalInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasSignalInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasSignalInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_nas_system_info_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationNasSystemInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationNasSystemInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationNasSystemInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_oma_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationOmaEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationOmaEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationOmaEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_activate_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcActivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcActivateConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcActivateConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_deactivate_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcDeactivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcDeactivateConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcDeactivateConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_get_config_info_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcGetConfigInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcGetConfigInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcGetConfigInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_get_selected_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcGetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcGetSelectedConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcGetSelectedConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_list_configs_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcListConfigsOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcListConfigsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcListConfigsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_load_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcLoadConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcLoadConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcLoadConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_refresh_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcRefreshOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcRefreshOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcRefreshOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pdc_set_selected_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdcSetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdcSetSelectedConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdcSetSelectedConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_pds_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationPdsEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationPdsEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationPdsEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_qos_flow_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationQosFlowStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationQosFlowStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationQosFlowStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_qos_network_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationQosNetworkStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationQosNetworkStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationQosNetworkStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_ssc_report_large_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationSscReportLargeOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationSscReportLargeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationSscReportLargeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_ssc_report_small_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationSscReportSmallOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationSscReportSmallOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationSscReportSmallOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_uim_card_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationUimCardStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationUimCardStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationUimCardStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_uim_refresh_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationUimRefreshOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationUimRefreshOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationUimRefreshOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_uim_slot_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationUimSlotStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationUimSlotStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationUimSlotStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_voice_all_call_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationVoiceAllCallStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationVoiceAllCallStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationVoiceAllCallStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_voice_originate_ussd_no_wait_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationVoiceOriginateUssdNoWaitOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationVoiceOriginateUssdNoWaitOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationVoiceOriginateUssdNoWaitOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_voice_supplementary_service_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationVoiceSupplementaryServiceOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationVoiceSupplementaryServiceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationVoiceSupplementaryServiceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_voice_ussd_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationVoiceUssdOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationVoiceUssdOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationVoiceUssdOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wds_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWdsEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWdsEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWdsEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wds_extended_ip_config_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWdsExtendedIpConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWdsExtendedIpConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWdsExtendedIpConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wds_packet_service_status_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWdsPacketServiceStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWdsPacketServiceStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWdsPacketServiceStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wds_profile_changed_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWdsProfileChangedOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWdsProfileChangedOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWdsProfileChangedOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wds_set_lte_attach_pdn_list_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWdsSetLteAttachPdnListOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWdsSetLteAttachPdnListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWdsSetLteAttachPdnListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wms_event_report_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWmsEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWmsEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWmsEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.indication_wms_smsc_address_indication_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.IndicationWmsSmscAddressOutput
, orNone
if error is set. The returned value should be freed withQmi.IndicationWmsSmscAddressOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.IndicationWmsSmscAddressOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.loc_delete_cell_database_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocDeleteCellDatabase
) – bitmask ofQmi.LocDeleteCellDatabase
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
Qmi.LocDeleteCellDatabase
in mask.New in version 1.22.
- Qmi.loc_delete_clock_info_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocDeleteClockInfo
) – bitmask ofQmi.LocDeleteClockInfo
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
Qmi.LocDeleteClockInfo
in mask.New in version 1.22.
- Qmi.loc_delete_gnss_data_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocDeleteGnssData
) – bitmask ofQmi.LocDeleteGnssData
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
Qmi.LocDeleteGnssData
in mask.New in version 1.22.
- Qmi.loc_delete_sv_info_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocDeleteSvInfo
) – bitmask ofQmi.LocDeleteSvInfo
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
Qmi.LocDeleteSvInfo
in mask.New in version 1.22.
- Qmi.loc_engine_state_get_string(val)¶
- Parameters:
val (
Qmi.LocEngineState
) – aQmi.LocEngineState
.- 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
Qmi.LocEngineState
specified at val.New in version 1.22.
- Qmi.loc_event_registration_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocEventRegistrationFlag
) – bitmask ofQmi.LocEventRegistrationFlag
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
Qmi.LocEventRegistrationFlag
in mask.New in version 1.22.
- Qmi.loc_fix_recurrence_type_get_string(val)¶
- Parameters:
val (
Qmi.LocFixRecurrenceType
) – aQmi.LocFixRecurrenceType
.- 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
Qmi.LocFixRecurrenceType
specified at val.New in version 1.22.
- Qmi.loc_health_status_get_string(val)¶
- Parameters:
val (
Qmi.LocHealthStatus
) – aQmi.LocHealthStatus
.- 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
Qmi.LocHealthStatus
specified at val.New in version 1.22.
- Qmi.loc_indication_status_get_string(val)¶
- Parameters:
val (
Qmi.LocIndicationStatus
) – aQmi.LocIndicationStatus
.- 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
Qmi.LocIndicationStatus
specified at val.New in version 1.22.
- Qmi.loc_intermediate_report_state_get_string(val)¶
- Parameters:
val (
Qmi.LocIntermediateReportState
) – aQmi.LocIntermediateReportState
.- 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
Qmi.LocIntermediateReportState
specified at val.New in version 1.20.
- Qmi.loc_lock_type_get_string(val)¶
- Parameters:
val (
Qmi.LocLockType
) – aQmi.LocLockType
.- 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
Qmi.LocLockType
specified at val.New in version 1.28.
- Parameters:
val (
Qmi.LocNavigationData
) – aQmi.LocNavigationData
.- 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
Qmi.LocNavigationData
specified at val.New in version 1.22.
- Qmi.loc_nmea_type_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocNmeaType
) – bitmask ofQmi.LocNmeaType
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
Qmi.LocNmeaType
in mask.New in version 1.26.
- Qmi.loc_operation_mode_get_string(val)¶
- Parameters:
val (
Qmi.LocOperationMode
) – aQmi.LocOperationMode
.- 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
Qmi.LocOperationMode
specified at val.New in version 1.22.
- Qmi.loc_predicted_orbits_data_format_get_string(val)¶
- Parameters:
val (
Qmi.LocPredictedOrbitsDataFormat
) – aQmi.LocPredictedOrbitsDataFormat
.- 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
Qmi.LocPredictedOrbitsDataFormat
specified at val.New in version 1.22.
- Qmi.loc_reliability_get_string(val)¶
- Parameters:
val (
Qmi.LocReliability
) – aQmi.LocReliability
.- 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
Qmi.LocReliability
specified at val.New in version 1.22.
- Qmi.loc_satellite_status_get_string(val)¶
- Parameters:
val (
Qmi.LocSatelliteStatus
) – aQmi.LocSatelliteStatus
.- 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
Qmi.LocSatelliteStatus
specified at val.New in version 1.22.
- Qmi.loc_satellite_valid_information_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocSatelliteValidInformation
) – bitmask ofQmi.LocSatelliteValidInformation
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
Qmi.LocSatelliteValidInformation
in mask.New in version 1.22.
- Qmi.loc_sensor_data_usage_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocSensorDataUsage
) – bitmask ofQmi.LocSensorDataUsage
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
Qmi.LocSensorDataUsage
in mask.New in version 1.22.
- Qmi.loc_server_address_type_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocServerAddressType
) – bitmask ofQmi.LocServerAddressType
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
Qmi.LocServerAddressType
in mask.New in version 1.22.
- Qmi.loc_server_type_get_string(val)¶
- Parameters:
val (
Qmi.LocServerType
) – aQmi.LocServerType
.- 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
Qmi.LocServerType
specified at val.New in version 1.22.
- Qmi.loc_session_status_get_string(val)¶
- Parameters:
val (
Qmi.LocSessionStatus
) – aQmi.LocSessionStatus
.- 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
Qmi.LocSessionStatus
specified at val.New in version 1.22.
- Qmi.loc_system_get_string(val)¶
- Parameters:
val (
Qmi.LocSystem
) – aQmi.LocSystem
.- 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
Qmi.LocSystem
specified at val.New in version 1.22.
- Qmi.loc_technology_used_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.LocTechnologyUsed
) – bitmask ofQmi.LocTechnologyUsed
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
Qmi.LocTechnologyUsed
in mask.New in version 1.22.
- Qmi.loc_time_source_get_string(val)¶
- Parameters:
val (
Qmi.LocTimeSource
) – aQmi.LocTimeSource
.- 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
Qmi.LocTimeSource
specified at val.New in version 1.22.
- Qmi.message_add_raw_tlv(self, type, raw, length)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.type (
int
) – specific ID of the TLV to add.raw (
int
) – raw data buffer with the value of the TLV.length (
int
) – length of the raw data buffer.
- Raises:
- Returns:
True
if the TLV is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Creates a new type TLV with the value given in raw, and adds it to the #QmiMessage.
New in version 1.0.
- Qmi.message_atr_send_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageAtrSendOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageAtrSendOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageAtrSendOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_activate_automatic_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsActivateAutomaticOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsActivateAutomaticOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsActivateAutomaticOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_activate_manual_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsActivateManualOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsActivateManualOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsActivateManualOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_delete_stored_image_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsDeleteStoredImageOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsDeleteStoredImageOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsDeleteStoredImageOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_foxconn_change_device_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsFoxconnChangeDeviceModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsFoxconnChangeDeviceModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsFoxconnChangeDeviceModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_foxconn_get_firmware_version_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsFoxconnGetFirmwareVersionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsFoxconnGetFirmwareVersionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsFoxconnGetFirmwareVersionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_foxconn_set_fcc_authentication_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsFoxconnSetFccAuthenticationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsFoxconnSetFccAuthenticationOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsFoxconnSetFccAuthenticationOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_foxconn_set_fcc_authentication_v2_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsFoxconnSetFccAuthenticationV2Output
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsFoxconnSetFccAuthenticationV2Output.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsFoxconnSetFccAuthenticationV2Output
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_activation_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetActivationStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetActivationStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetActivationStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_alt_net_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetAltNetConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetAltNetConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetAltNetConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_band_capabilities_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetBandCapabilitiesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetBandCapabilitiesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetBandCapabilitiesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_boot_image_download_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetBootImageDownloadModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetBootImageDownloadModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetBootImageDownloadModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_capabilities_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetCapabilitiesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetCapabilitiesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetCapabilitiesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_factory_sku_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetFactorySkuOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetFactorySkuOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetFactorySkuOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_firmware_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetFirmwarePreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetFirmwarePreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetFirmwarePreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_hardware_revision_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetHardwareRevisionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetHardwareRevisionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetHardwareRevisionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_ids_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetIdsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetIdsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetIdsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_mac_address_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetMacAddressOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetMacAddressOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetMacAddressOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_manufacturer_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetManufacturerOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetManufacturerOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetManufacturerOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_model_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetModelOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetModelOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetModelOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_msisdn_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetMsisdnOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetMsisdnOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetMsisdnOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_operating_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetOperatingModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetOperatingModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetOperatingModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_power_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetPowerStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetPowerStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetPowerStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_prl_version_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetPrlVersionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetPrlVersionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetPrlVersionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_revision_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetRevisionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetRevisionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetRevisionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_software_version_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetSoftwareVersionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetSoftwareVersionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetSoftwareVersionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_stored_image_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetStoredImageInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetStoredImageInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetStoredImageInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_time_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetTimeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetTimeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetTimeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_get_user_lock_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsGetUserLockStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsGetUserLockStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsGetUserLockStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_hp_change_device_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsHpChangeDeviceModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsHpChangeDeviceModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsHpChangeDeviceModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_list_stored_images_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsListStoredImagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsListStoredImagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsListStoredImagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_read_eri_file_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsReadEriFileOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsReadEriFileOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsReadEriFileOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_read_user_data_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsReadUserDataOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsReadUserDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsReadUserDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_restore_factory_defaults_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsRestoreFactoryDefaultsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsRestoreFactoryDefaultsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsRestoreFactoryDefaultsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_alt_net_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetAltNetConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetAltNetConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetAltNetConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_boot_image_download_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetBootImageDownloadModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetBootImageDownloadModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetBootImageDownloadModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_fcc_authentication_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetFccAuthenticationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetFccAuthenticationOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetFccAuthenticationOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_firmware_id_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetFirmwareIdOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetFirmwareIdOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetFirmwareIdOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_firmware_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetFirmwarePreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetFirmwarePreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetFirmwarePreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_operating_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetOperatingModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetOperatingModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetOperatingModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_service_programming_code_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetServiceProgrammingCodeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetServiceProgrammingCodeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetServiceProgrammingCodeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_time_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetTimeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetTimeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetTimeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_user_lock_code_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetUserLockCodeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetUserLockCodeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetUserLockCodeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_set_user_lock_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSetUserLockStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSetUserLockStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSetUserLockStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_swi_get_current_firmware_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSwiGetCurrentFirmwareOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSwiGetCurrentFirmwareOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSwiGetCurrentFirmwareOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_swi_get_usb_composition_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSwiGetUsbCompositionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSwiGetUsbCompositionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSwiGetUsbCompositionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_swi_set_usb_composition_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsSwiSetUsbCompositionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsSwiSetUsbCompositionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsSwiSetUsbCompositionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_change_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimChangePinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimChangePinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimChangePinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_get_ck_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimGetCkStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimGetCkStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimGetCkStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_get_iccid_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimGetIccidOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimGetIccidOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimGetIccidOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_get_imsi_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimGetImsiOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimGetImsiOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimGetImsiOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_get_pin_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimGetPinStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimGetPinStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimGetPinStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_get_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimGetStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimGetStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimGetStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_set_ck_protection_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimSetCkProtectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimSetCkProtectionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimSetCkProtectionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_set_pin_protection_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimSetPinProtectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimSetPinProtectionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimSetPinProtectionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_unblock_ck_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimUnblockCkOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimUnblockCkOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimUnblockCkOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_unblock_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimUnblockPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimUnblockPinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimUnblockPinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_uim_verify_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsUimVerifyPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsUimVerifyPinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsUimVerifyPinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_validate_service_programming_code_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsValidateServiceProgrammingCodeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsValidateServiceProgrammingCodeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsValidateServiceProgrammingCodeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dms_write_user_data_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDmsWriteUserDataOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDmsWriteUserDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDmsWriteUserDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dpm_close_port_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDpmClosePortOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDpmClosePortOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDpmClosePortOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dpm_open_port_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDpmOpenPortOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDpmOpenPortOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDpmOpenPortOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dsd_get_apn_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDsdGetApnInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDsdGetApnInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDsdGetApnInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dsd_get_system_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDsdGetSystemStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDsdGetSystemStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDsdGetSystemStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dsd_set_apn_type_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDsdSetApnTypeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDsdSetApnTypeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDsdSetApnTypeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_dsd_system_status_change_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageDsdSystemStatusChangeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageDsdSystemStatusChangeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageDsdSystemStatusChangeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_foreach_raw_tlv(self, func, *user_data)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.func (
Qmi.MessageForeachRawTlvFn
orNone
) – the function to call for each TLV.user_data (
object
orNone
) – user data to pass to the function.
Calls the given function for each TLV found within the #QmiMessage.
New in version 1.0.
- Qmi.message_fox_get_firmware_version_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageFoxGetFirmwareVersionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageFoxGetFirmwareVersionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageFoxGetFirmwareVersionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_gas_dms_get_firmware_list_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGasDmsGetFirmwareListOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGasDmsGetFirmwareListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGasDmsGetFirmwareListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_gas_dms_get_usb_composition_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGasDmsGetUsbCompositionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGasDmsGetUsbCompositionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGasDmsGetUsbCompositionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_gas_dms_set_active_firmware_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGasDmsSetActiveFirmwareOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGasDmsSetActiveFirmwareOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGasDmsSetActiveFirmwareOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_gas_dms_set_usb_composition_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGasDmsSetUsbCompositionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGasDmsSetUsbCompositionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGasDmsSetUsbCompositionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_get_client_id(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
the client ID.
- Return type:
Gets the client ID of the message.
New in version 1.0.
- Qmi.message_get_data(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
The raw QMI buffer, or
None
if error is set.- length:
return location for the size of the output buffer.
- Return type:
Gets the data buffer of the #QmiMessage without the QMUX header.
New in version 1.24.
- Qmi.message_get_length(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
the length of the raw data.
- Return type:
Gets the length of the raw data corresponding to the given #QmiMessage.
New in version 1.0.
- Qmi.message_get_marker(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
The message marker.
- Return type:
Gets the marker of the #QmiMessage.
New in version 1.34.
- Qmi.message_get_message_id(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
the ID.
- Return type:
Gets the ID of the message.
New in version 1.0.
- Qmi.message_get_printable_full(self, context, line_prefix)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.context (
Qmi.MessageContext
) – aQmi.MessageContext
.line_prefix (
str
) – prefix string to use in each new generated line.
- Returns:
a newly allocated string, which should be freed with
GLib.free
().- Return type:
Gets a printable string with the contents of the whole QMI message.
If known, the printable string will contain translated TLV values as well as the raw data buffer contents.
The translation of the contents may be specific to the context provided, e.g. for vendor-specific messages.
If no context given, the behavior is the same as qmi_message_get_printable().
New in version 1.18.
- Qmi.message_get_raw(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
The raw data buffer, or
None
if error is set.- length:
return location for the size of the output buffer.
- Return type:
Gets the raw data buffer of the #QmiMessage.
New in version 1.0.
- Qmi.message_get_raw_tlv(self, type)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.type (
int
) – specific ID of the TLV to get.
- Returns:
The raw data buffer of the TLV, or
None
if not found.- length:
return location for the length of the TLV.
- Return type:
Get the raw data buffer of a specific TLV within the #QmiMessage.
New in version 1.0.
- Qmi.message_get_service(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
a
Qmi.Service
.- Return type:
Gets the service corresponding to the given #QmiMessage.
New in version 1.0.
- Qmi.message_get_tlv_printable(self, line_prefix, type, raw, raw_length)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.line_prefix (
str
) – prefix string to use in each new generated line.type (
int
) – type of the TLV.raw (
int
) – raw data buffer with the value of the TLV.raw_length (
int
) – length of the raw data buffer.
- Returns:
a newly allocated string, which should be freed with
GLib.free
().- Return type:
Gets a printable string with the contents of the TLV.
This method is the most generic one and doesn’t try to translate the TLV contents.
New in version 1.0.
- Qmi.message_get_transaction_id(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
the transaction ID.
- Return type:
Gets the transaction ID of the message.
New in version 1.0.
- Qmi.message_gms_test_get_value_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGmsTestGetValueOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGmsTestGetValueOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGmsTestGetValueOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_gms_test_set_value_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageGmsTestSetValueOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageGmsTestSetValueOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageGmsTestSetValueOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_ims_get_ims_services_enabled_setting_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageImsGetImsServicesEnabledSettingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageImsGetImsServicesEnabledSettingOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageImsGetImsServicesEnabledSettingOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_imsa_get_ims_registration_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageImsaGetImsRegistrationStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageImsaGetImsRegistrationStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageImsaGetImsRegistrationStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_imsa_get_ims_services_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageImsaGetImsServicesStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageImsaGetImsServicesStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageImsaGetImsServicesStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_imsp_get_enabler_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageImspGetEnablerStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageImspGetEnablerStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageImspGetEnablerStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_is_indication(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
- Return type:
Checks whether the given #QmiMessage is an indication.
New in version 1.0.
- Qmi.message_is_request(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
- Return type:
Checks whether the given #QmiMessage is a request.
New in version 1.8.
- Qmi.message_is_response(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
- Return type:
Checks whether the given #QmiMessage is a response.
New in version 1.0.
- Qmi.message_loc_delete_assistance_data_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocDeleteAssistanceDataOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocDeleteAssistanceDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocDeleteAssistanceDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_get_engine_lock_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocGetEngineLockOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocGetEngineLockOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocGetEngineLockOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_get_nmea_types_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocGetNmeaTypesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocGetNmeaTypesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocGetNmeaTypesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_get_operation_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocGetOperationModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocGetOperationModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocGetOperationModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_get_predicted_orbits_data_source_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocGetPredictedOrbitsDataSourceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocGetPredictedOrbitsDataSourceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocGetPredictedOrbitsDataSourceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_get_server_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocGetServerOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocGetServerOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocGetServerOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_inject_predicted_orbits_data_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocInjectPredictedOrbitsDataOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocInjectPredictedOrbitsDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocInjectPredictedOrbitsDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_inject_xtra_data_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocInjectXtraDataOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocInjectXtraDataOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocInjectXtraDataOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_register_events_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocRegisterEventsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocRegisterEventsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocRegisterEventsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_set_engine_lock_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocSetEngineLockOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocSetEngineLockOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocSetEngineLockOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_set_nmea_types_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocSetNmeaTypesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocSetNmeaTypesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocSetNmeaTypesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_set_operation_mode_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocSetOperationModeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocSetOperationModeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocSetOperationModeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_set_server_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocSetServerOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocSetServerOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocSetServerOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_start_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocStartOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocStartOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocStartOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_loc_stop_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageLocStopOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageLocStopOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageLocStopOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_attach_detach_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasAttachDetachOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasAttachDetachOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasAttachDetachOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_config_signal_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasConfigSignalInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasConfigSignalInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasConfigSignalInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_config_signal_info_v2_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasConfigSignalInfoV2Output
, orNone
if error is set. The returned value should be freed withQmi.MessageNasConfigSignalInfoV2Output.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasConfigSignalInfoV2Output
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_force_network_search_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasForceNetworkSearchOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasForceNetworkSearchOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasForceNetworkSearchOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_cdma_position_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetCdmaPositionInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetCdmaPositionInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetCdmaPositionInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_cell_location_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetCellLocationInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetCellLocationInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetCellLocationInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_drx_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetDrxOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetDrxOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetDrxOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_home_network_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetHomeNetworkOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetHomeNetworkOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetHomeNetworkOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_lte_cphy_ca_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetLteCphyCaInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetLteCphyCaInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetLteCphyCaInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_operator_name_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetOperatorNameOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetOperatorNameOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetOperatorNameOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_plmn_name_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetPlmnNameOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetPlmnNameOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetPlmnNameOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_preferred_networks_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetPreferredNetworksOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetPreferredNetworksOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetPreferredNetworksOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_rf_band_information_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetRfBandInformationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetRfBandInformationOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetRfBandInformationOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_serving_system_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetServingSystemOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetServingSystemOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetServingSystemOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_signal_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetSignalInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetSignalInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetSignalInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_signal_strength_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetSignalStrengthOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetSignalStrengthOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetSignalStrengthOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_system_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetSystemInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetSystemInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetSystemInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_system_selection_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetSystemSelectionPreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetSystemSelectionPreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetSystemSelectionPreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_technology_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetTechnologyPreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetTechnologyPreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetTechnologyPreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_get_tx_rx_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasGetTxRxInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasGetTxRxInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasGetTxRxInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_initiate_network_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasInitiateNetworkRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasInitiateNetworkRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasInitiateNetworkRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_network_scan_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasNetworkScanOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasNetworkScanOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasNetworkScanOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_register_indications_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasRegisterIndicationsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasRegisterIndicationsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasRegisterIndicationsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_set_preferred_networks_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasSetPreferredNetworksOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasSetPreferredNetworksOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasSetPreferredNetworksOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_set_system_selection_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasSetSystemSelectionPreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasSetSystemSelectionPreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasSetSystemSelectionPreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_set_technology_preference_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasSetTechnologyPreferenceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasSetTechnologyPreferenceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasSetTechnologyPreferenceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_nas_swi_get_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageNasSwiGetStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageNasSwiGetStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageNasSwiGetStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_new(service, client_id, transaction_id, message_id)¶
- Parameters:
service (
Qmi.Service
) – aQmi.Service
client_id (
int
) – client ID of the originating control point.transaction_id (
int
) – transaction ID.message_id (
int
) – message ID.
- Returns:
a newly created #QmiMessage. The returned value should be freed with
Qmi.message_unref
().- Return type:
Create a new #QmiMessage with the specified parameters.
Note that transaction_id must be less than
GObject.G_MAXUINT8
if service isQmi.Service.CTL
.New in version 1.0.
- Qmi.message_new_from_data(service, client_id, qmi_data)¶
- Parameters:
service (
Qmi.Service
) – aQmi.Service
client_id (
int
) – client ID of the originating control point.qmi_data (
bytes
) – data buffer containing only the QMI part of the message.
- Raises:
- Returns:
a newly created #QmiMessage, which should be freed with
Qmi.message_unref
(). If qmi_data doesn’t contain a complete QMI data payloadNone
is returned. If there is a complete QMI data payload but it appears not to be valid,None
is returned and error is set.- qmi_data:
data buffer containing only the QMI part of the message.
- Return type:
(
GLib.ByteArray
, qmi_data:bytes
)
Create a new #QmiMessage for the given service and client_id and including the given QMI data buffer.
Whenever a complete QMI message is read, its data gets removed from the qmi_data buffer.
This method should be used instead of
Qmi.message_new_from_raw
() if the input data doesn’t have QMUX headers.New in version 1.24.
- Qmi.message_new_from_raw(raw)¶
- Parameters:
raw (
bytes
) – raw data buffer.- Raises:
- Returns:
a newly created #QmiMessage, which should be freed with
Qmi.message_unref
(). If raw doesn’t contain a complete QMI messageNone
is returned. If there is a complete QMI message but it appears not to be valid,None
is returned and error is set.- raw:
raw data buffer.
- Return type:
(
GLib.ByteArray
, raw:bytes
)
Create a new #QmiMessage from the given raw data buffer.
Whenever a complete QMI message is read, its raw data gets removed from the raw buffer.
New in version 1.0.
- Qmi.message_oma_cancel_session_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaCancelSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaCancelSessionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaCancelSessionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_get_feature_setting_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaGetFeatureSettingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaGetFeatureSettingOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaGetFeatureSettingOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_get_session_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaGetSessionInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaGetSessionInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaGetSessionInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_send_selection_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaSendSelectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSendSelectionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaSendSelectionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_set_feature_setting_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaSetFeatureSettingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaSetFeatureSettingOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaSetFeatureSettingOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_oma_start_session_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageOmaStartSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageOmaStartSessionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageOmaStartSessionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pbm_get_all_capabilities_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePbmGetAllCapabilitiesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePbmGetAllCapabilitiesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePbmGetAllCapabilitiesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pbm_get_capabilities_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePbmGetCapabilitiesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePbmGetCapabilitiesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePbmGetCapabilitiesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pbm_indication_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePbmIndicationRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePbmIndicationRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePbmIndicationRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_activate_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcActivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcActivateConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcActivateConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_config_change_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcConfigChangeOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcConfigChangeOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcConfigChangeOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_deactivate_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcDeactivateConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcDeactivateConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcDeactivateConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_delete_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcDeleteConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcDeleteConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcDeleteConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_get_config_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcGetConfigInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetConfigInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcGetConfigInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_get_config_limits_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcGetConfigLimitsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetConfigLimitsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcGetConfigLimitsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_get_default_config_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcGetDefaultConfigInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetDefaultConfigInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcGetDefaultConfigInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_get_selected_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcGetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcGetSelectedConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcGetSelectedConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_list_configs_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcListConfigsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcListConfigsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcListConfigsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_load_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcLoadConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcLoadConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcLoadConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pdc_set_selected_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdcSetSelectedConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdcSetSelectedConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdcSetSelectedConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_get_agps_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsGetAgpsConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsGetAgpsConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsGetAgpsConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_get_auto_tracking_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsGetAutoTrackingStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsGetAutoTrackingStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsGetAutoTrackingStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_get_default_tracking_session_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsGetDefaultTrackingSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsGetDefaultTrackingSessionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsGetDefaultTrackingSessionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_get_gps_service_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsGetGpsServiceStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsGetGpsServiceStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsGetGpsServiceStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_set_agps_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsSetAgpsConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsSetAgpsConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsSetAgpsConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_set_auto_tracking_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsSetAutoTrackingStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsSetAutoTrackingStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsSetAutoTrackingStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_set_default_tracking_session_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsSetDefaultTrackingSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsSetDefaultTrackingSessionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsSetDefaultTrackingSessionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_pds_set_gps_service_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessagePdsSetGpsServiceStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessagePdsSetGpsServiceStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessagePdsSetGpsServiceStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_qos_get_flow_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageQosGetFlowStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageQosGetFlowStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageQosGetFlowStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_qos_get_network_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageQosGetNetworkStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageQosGetNetworkStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageQosGetNetworkStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_qos_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageQosResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageQosResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageQosResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_qos_swi_read_data_stats_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageQosSwiReadDataStatsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageQosSwiReadDataStatsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageQosSwiReadDataStatsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_ref(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.- Returns:
the new reference to self.
- Return type:
Atomically increments the reference count of self by one.
New in version 1.0.
- Qmi.message_response_new(request, error)¶
- Parameters:
request (
GLib.ByteArray
) – a request #QmiMessage.error (
Qmi.ProtocolError
) – aQmi.ProtocolError
to set in the result TLV.
- Returns:
a newly created #QmiMessage. The returned value should be freed with
Qmi.message_unref
().- Return type:
Create a new response #QmiMessage for the specified request.
New in version 1.8.
- Qmi.message_sar_rf_get_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageSarRfGetStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageSarRfGetStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageSarRfGetStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_sar_rf_set_state_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageSarRfSetStateOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageSarRfSetStateOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageSarRfSetStateOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_set_transaction_id(self, transaction_id)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.transaction_id (
int
) – transaction id.
Overwrites the transaction ID of the message.
New in version 1.8.
- Qmi.message_ssc_control_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageSscControlOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageSscControlOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageSscControlOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_tlv_read_fixed_size_string(self, tlv_offset, offset, string_length)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.string_length (
int
) – amount of bytes to read.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
buffer preallocated by the client, with at least string_length bytes.
- Return type:
Reads a string from the TLV.
The string written in out will need to be NUL-terminated by the caller.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
Since 1.24.6 the read string is guaranteed to be valid UTF-8.
The fixed sized field may be suffixed with e.g. 0xFF if the contents are shorter than string_length. Since 1.26, this method will return the valid UTF-8 characters in the start of the string, instead of returning an error when doing the full UTF-8 string validation.
New in version 1.12.
- Qmi.message_tlv_read_gdouble(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read
float
.
- Return type:
Reads a 64-bit floating-point number from the TLV.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.22.
- Qmi.message_tlv_read_gfloat_endian(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read
float
.
- Return type:
Reads a 32-bit floating-point number from the TLV.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_gint16(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #gint16.
- Return type:
Reads a signed 16-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_gint32(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #gint32.
- Return type:
Reads a signed 32-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_gint64(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #gint64.
- Return type:
Reads a signed 64-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_gint8(self, tlv_offset, offset)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #gint8.
- Return type:
Reads a signed byte from the TLV.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_guint16(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #guint16.
- Return type:
Reads an unsigned 16-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_guint32(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #guint32.
- Return type:
Reads an unsigned 32-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_guint64(self, tlv_offset, offset, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #guint64.
- Return type:
Reads an unsigned 64-bit integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_guint8(self, tlv_offset, offset)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of the offset within the TLV value.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of the offset within the TLV value.
- out:
return location for the read #guint8.
- Return type:
Reads an unsigned byte from the TLV.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_init(self, type)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.type (
int
) – specific ID of the TLV to read.
- Raises:
- Returns:
the offset where the TLV starts, or 0 if an error happens.
- out_tlv_length:
optional return location for the TLV size.
- Return type:
Starts reading a given TLV from the #QmiMessage.
New in version 1.12.
- Qmi.message_tlv_read_remaining_size(self, tlv_offset, offset)¶
- Parameters:
self (
GLib.ByteArray
) –tlv_offset (
int
) –offset (
int
) –
- Return type:
- Qmi.message_tlv_read_sized_guint(self, tlv_offset, offset, n_bytes, endian)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.n_bytes (
int
) – number of bytes to read.endian (
Qmi.Endian
) – source endianness, which will be swapped to host byte order if necessary.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read #guint64.
- Return type:
Reads a b_bytes-sized integer from the TLV, in host byte order.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
New in version 1.12.
- Qmi.message_tlv_read_string(self, tlv_offset, offset, n_size_prefix_bytes, max_size)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_read_init
().offset (
int
) – address of a the offset within the TLV value.n_size_prefix_bytes (
int
) – number of bytes used in the size prefix.max_size (
int
) – maximum number of bytes to read, or 0 to read all available bytes.
- Raises:
- Returns:
True
if the variable is successfully read, otherwiseFalse
is returned and error is set.- offset:
address of a the offset within the TLV value.
- out:
return location for the read string. The returned value should be freed with
GLib.free
().
- Return type:
Reads a string from the TLV.
offset needs to point to a valid gsize specifying the index to start reading from within the TLV value (0 for the first item). If the variable is successfully read, offset will be updated to point past the read item.
Since 1.24.6 the read string is guaranteed to be valid UTF-8. Also, in order to overcome known firmware errors on string fields, this method will also attempt to parse the string as GSM-7 or UCS-2 if the initial UTF-8 validation fails.
New in version 1.12.
- Qmi.message_tlv_write_complete(self, tlv_offset)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_write_init
().
- Raises:
- Returns:
True
if the TLV is successfully completed, otherwiseFalse
is returned and error is set.- Return type:
Completes building a TLV in the #QmiMessage.
In case of error the TLV will be reseted; i.e. there is no need to explicitly call
Qmi.message_tlv_write_reset
().New in version 1.12.
- Qmi.message_tlv_write_gint16(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #gint16 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a signed 16-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_gint32(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #gint32 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a signed 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_gint64(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #gint64 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a signed 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_gint8(self, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.in (
int
) – a #gint8.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a signed byte variable to the TLV being built.
New in version 1.12.
- Qmi.message_tlv_write_guint16(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #guint16 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends an unsigned 16-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_guint32(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #guint32 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends an unsigned 32-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_guint64(self, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #guint64 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends an unsigned 64-bit integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
New in version 1.12.
- Qmi.message_tlv_write_guint8(self, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.in (
int
) – a #guint8.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends an unsigned byte to the TLV being built.
New in version 1.12.
- Qmi.message_tlv_write_init(self, type)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.type (
int
) – specific ID of the TLV to add.
- Raises:
- Returns:
the offset where the TLV was started to be added, or 0 if an error happens.
- Return type:
Starts building a new TLV in the #QmiMessage.
In order to finish adding the TLV,
Qmi.message_tlv_write_complete
() needs to be called.If any error happens adding fields on the TLV, the previous state can be recovered using
Qmi.message_tlv_write_reset
().New in version 1.12.
- Qmi.message_tlv_write_reset(self, tlv_offset)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.tlv_offset (
int
) – offset that was returned byQmi.message_tlv_write_init
().
Removes the TLV being currently added.
New in version 1.12.
- Qmi.message_tlv_write_sized_guint(self, n_bytes, endian, in_)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.n_bytes (
int
) – number of bytes to write.endian (
Qmi.Endian
) – target endianness, swapped from host byte order if necessary.in (
int
) – a #guint64 in host byte order.
- Raises:
- Returns:
True
if the variable is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a n_bytes-sized unsigned integer to the TLV being built. The number to be written is expected to be given in host endianness, and this method takes care of converting the value written to the byte order specified by endian.
The value of n_bytes can be any between 1 and 8.
New in version 1.12.
- Qmi.message_tlv_write_string(self, n_size_prefix_bytes, in_, in_length)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.n_size_prefix_bytes (
int
) – number of bytes to use in the size prefix.in (
str
) – string to write.in_length (
int
) – length of in, or -1 if in is NUL-terminated.
- Raises:
- Returns:
True
if the string is successfully added, otherwiseFalse
is returned and error is set.- Return type:
Appends a string to the TLV being built.
Fixed-sized strings should give n_size_prefix_bytes equal to 0.
New in version 1.12.
- Qmi.message_uim_change_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimChangePinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimChangePinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimChangePinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_change_provisioning_session_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimChangeProvisioningSessionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimChangeProvisioningSessionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimChangeProvisioningSessionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_depersonalization_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimDepersonalizationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimDepersonalizationOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimDepersonalizationOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_get_card_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimGetCardStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetCardStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimGetCardStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_get_configuration_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimGetConfigurationOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetConfigurationOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimGetConfigurationOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_get_file_attributes_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimGetFileAttributesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetFileAttributesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimGetFileAttributesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_get_slot_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimGetSlotStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetSlotStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimGetSlotStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_power_off_sim_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimPowerOffSimOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimPowerOffSimOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimPowerOffSimOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_power_on_sim_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimPowerOnSimOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimPowerOnSimOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimPowerOnSimOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_read_record_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimReadRecordOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimReadRecordOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimReadRecordOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_read_transparent_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimReadTransparentOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimReadTransparentOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimReadTransparentOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_refresh_complete_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimRefreshCompleteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshCompleteOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimRefreshCompleteOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_refresh_register_all_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimRefreshRegisterAllOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshRegisterAllOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimRefreshRegisterAllOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_refresh_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimRefreshRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRefreshRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimRefreshRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_register_events_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimRegisterEventsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRegisterEventsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimRegisterEventsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_remote_unlock_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimRemoteUnlockOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimRemoteUnlockOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimRemoteUnlockOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_set_pin_protection_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimSetPinProtectionOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimSetPinProtectionOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimSetPinProtectionOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_switch_slot_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimSwitchSlotOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimSwitchSlotOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimSwitchSlotOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_unblock_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimUnblockPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimUnblockPinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimUnblockPinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_uim_verify_pin_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageUimVerifyPinOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageUimVerifyPinOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageUimVerifyPinOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_unref(self)¶
- Parameters:
self (
GLib.ByteArray
) – a #QmiMessage.
Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.
New in version 1.0.
- Qmi.message_voice_answer_call_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceAnswerCallOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceAnswerCallOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceAnswerCallOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_answer_ussd_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceAnswerUssdOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceAnswerUssdOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceAnswerUssdOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_burst_dtmf_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceBurstDtmfOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceBurstDtmfOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceBurstDtmfOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_cancel_ussd_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceCancelUssdOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceCancelUssdOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceCancelUssdOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_dial_call_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceDialCallOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceDialCallOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceDialCallOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_end_call_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceEndCallOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceEndCallOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceEndCallOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_get_all_call_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceGetAllCallInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceGetAllCallInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceGetAllCallInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_get_call_waiting_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceGetCallWaitingOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceGetCallWaitingOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceGetCallWaitingOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_get_config_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceGetConfigOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceGetConfigOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceGetConfigOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_indication_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceIndicationRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceIndicationRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceIndicationRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_manage_calls_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceManageCallsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceManageCallsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceManageCallsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_originate_ussd_no_wait_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceOriginateUssdNoWaitOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceOriginateUssdNoWaitOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceOriginateUssdNoWaitOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_originate_ussd_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceOriginateUssdOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceOriginateUssdOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceOriginateUssdOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_set_supplementary_service_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceSetSupplementaryServiceOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceSetSupplementaryServiceOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceSetSupplementaryServiceOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_start_continuous_dtmf_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceStartContinuousDtmfOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceStartContinuousDtmfOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceStartContinuousDtmfOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_voice_stop_continuous_dtmf_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageVoiceStopContinuousDtmfOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageVoiceStopContinuousDtmfOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageVoiceStopContinuousDtmfOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wda_get_data_format_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdaGetDataFormatOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaGetDataFormatOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdaGetDataFormatOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wda_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdaGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdaGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wda_set_data_format_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdaSetDataFormatOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdaSetDataFormatOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdaSetDataFormatOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_bind_data_port_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsBindDataPortOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsBindDataPortOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsBindDataPortOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_bind_mux_data_port_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsBindMuxDataPortOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsBindMuxDataPortOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsBindMuxDataPortOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_configure_profile_event_list_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsConfigureProfileEventListOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsConfigureProfileEventListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsConfigureProfileEventListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_create_profile_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsCreateProfileOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsCreateProfileOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsCreateProfileOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_delete_profile_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsDeleteProfileOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsDeleteProfileOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsDeleteProfileOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_autoconnect_settings_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetAutoconnectSettingsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetAutoconnectSettingsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetAutoconnectSettingsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_channel_rates_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetChannelRatesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetChannelRatesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetChannelRatesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_current_data_bearer_technology_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetCurrentDataBearerTechnologyOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetCurrentDataBearerTechnologyOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetCurrentDataBearerTechnologyOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_current_settings_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetCurrentSettingsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetCurrentSettingsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetCurrentSettingsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_data_bearer_technology_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetDataBearerTechnologyOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetDataBearerTechnologyOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetDataBearerTechnologyOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_default_profile_number_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetDefaultProfileNumberOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetDefaultProfileNumberOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetDefaultProfileNumberOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_default_settings_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetDefaultSettingsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetDefaultSettingsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetDefaultSettingsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_dormancy_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetDormancyStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetDormancyStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetDormancyStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_lte_attach_parameters_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetLteAttachParametersOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetLteAttachParametersOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetLteAttachParametersOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_lte_attach_pdn_list_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetLteAttachPdnListOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetLteAttachPdnListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetLteAttachPdnListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_max_lte_attach_pdn_number_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetMaxLteAttachPdnNumberOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetMaxLteAttachPdnNumberOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetMaxLteAttachPdnNumberOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_packet_service_status_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetPacketServiceStatusOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetPacketServiceStatusOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetPacketServiceStatusOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_packet_statistics_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetPacketStatisticsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetPacketStatisticsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetPacketStatisticsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_pdn_throttle_info_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetPdnThrottleInfoOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetPdnThrottleInfoOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetPdnThrottleInfoOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_profile_list_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetProfileListOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetProfileListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetProfileListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_profile_settings_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetProfileSettingsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetProfileSettingsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetProfileSettingsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_go_active_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGoActiveOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGoActiveOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGoActiveOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_go_dormant_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsGoDormantOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsGoDormantOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsGoDormantOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_indication_register_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsIndicationRegisterOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsIndicationRegisterOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsIndicationRegisterOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_modify_profile_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsModifyProfileOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsModifyProfileOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsModifyProfileOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_set_autoconnect_settings_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSetAutoconnectSettingsOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSetAutoconnectSettingsOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSetAutoconnectSettingsOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_set_default_profile_number_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSetDefaultProfileNumberOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSetDefaultProfileNumberOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSetDefaultProfileNumberOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_set_ip_family_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSetIpFamilyOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSetIpFamilyOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSetIpFamilyOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_set_lte_attach_pdn_list_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSetLteAttachPdnListOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSetLteAttachPdnListOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSetLteAttachPdnListOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_start_network_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsStartNetworkOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsStartNetworkOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsStartNetworkOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_stop_network_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsStopNetworkOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsStopNetworkOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsStopNetworkOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wds_swi_create_profile_indexed_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWdsSwiCreateProfileIndexedOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWdsSwiCreateProfileIndexedOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWdsSwiCreateProfileIndexedOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_delete_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsDeleteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsDeleteOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsDeleteOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_get_message_protocol_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsGetMessageProtocolOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetMessageProtocolOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsGetMessageProtocolOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_get_routes_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsGetRoutesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetRoutesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsGetRoutesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_get_supported_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsGetSupportedMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsGetSupportedMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsGetSupportedMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_list_messages_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsListMessagesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsListMessagesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsListMessagesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_modify_tag_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsModifyTagOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsModifyTagOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsModifyTagOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_raw_read_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsRawReadOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawReadOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsRawReadOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_raw_send_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsRawSendOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawSendOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsRawSendOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_raw_write_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsRawWriteOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsRawWriteOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsRawWriteOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_reset_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsResetOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsResetOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsResetOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_send_ack_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsSendAckOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSendAckOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsSendAckOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_send_from_memory_storage_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsSendFromMemoryStorageOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSendFromMemoryStorageOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsSendFromMemoryStorageOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_set_event_report_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsSetEventReportOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSetEventReportOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsSetEventReportOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.message_wms_set_routes_response_parse(message)¶
- Parameters:
message (
GLib.ByteArray
) – a #QmiMessage.- Raises:
- Returns:
a
Qmi.MessageWmsSetRoutesOutput
, orNone
if error is set. The returned value should be freed withQmi.MessageWmsSetRoutesOutput.unref
().- Return type:
Parses a #QmiMessage and builds a
Qmi.MessageWmsSetRoutesOutput
out of it. The operation fails if the message is of the wrong type.New in version 1.34.
- Qmi.nas_active_band_get_string(val)¶
- Parameters:
val (
Qmi.NasActiveBand
) – aQmi.NasActiveBand
.- 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
Qmi.NasActiveBand
specified at val.New in version 1.0.
- Qmi.nas_attach_state_get_string(val)¶
- Parameters:
val (
Qmi.NasAttachState
) – aQmi.NasAttachState
.- 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
Qmi.NasAttachState
specified at val.New in version 1.0.
- Qmi.nas_band_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasBandPreference
) – bitmask ofQmi.NasBandPreference
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
Qmi.NasBandPreference
in mask.New in version 1.0.
- Qmi.nas_boolean_get_string(val)¶
- Parameters:
val (
Qmi.NasBoolean
) – aQmi.NasBoolean
.- 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
Qmi.NasBoolean
specified at val.New in version 1.28.
- Qmi.nas_call_barring_status_get_string(val)¶
- Parameters:
val (
Qmi.NasCallBarringStatus
) – aQmi.NasCallBarringStatus
.- 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
Qmi.NasCallBarringStatus
specified at val.New in version 1.0.
- Qmi.nas_cdma_pilot_type_get_string(val)¶
- Parameters:
val (
Qmi.NasCdmaPilotType
) – aQmi.NasCdmaPilotType
.- 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
Qmi.NasCdmaPilotType
specified at val.New in version 1.0.
- Qmi.nas_cdma_prl_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasCdmaPrlPreference
) – aQmi.NasCdmaPrlPreference
.- 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
Qmi.NasCdmaPrlPreference
specified at val.New in version 1.0.
- Qmi.nas_cell_broadcast_capability_get_string(val)¶
- Parameters:
val (
Qmi.NasCellBroadcastCapability
) – aQmi.NasCellBroadcastCapability
.- 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
Qmi.NasCellBroadcastCapability
specified at val.New in version 1.0.
- Qmi.nas_change_duration_get_string(val)¶
- Parameters:
val (
Qmi.NasChangeDuration
) – aQmi.NasChangeDuration
.- 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
Qmi.NasChangeDuration
specified at val.New in version 1.0.
- Qmi.nas_data_capability_get_string(val)¶
- Parameters:
val (
Qmi.NasDataCapability
) – aQmi.NasDataCapability
.- 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
Qmi.NasDataCapability
specified at val.New in version 1.0.
- Qmi.nas_day_of_week_get_string(val)¶
- Parameters:
val (
Qmi.NasDayOfWeek
) – aQmi.NasDayOfWeek
.- 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
Qmi.NasDayOfWeek
specified at val.New in version 1.4.
- Qmi.nas_daylight_savings_adjustment_get_string(val)¶
- Parameters:
val (
Qmi.NasDaylightSavingsAdjustment
) – aQmi.NasDaylightSavingsAdjustment
.- 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
Qmi.NasDaylightSavingsAdjustment
specified at val.New in version 1.4.
- Qmi.nas_dl_bandwidth_get_string(val)¶
- Parameters:
val (
Qmi.NasDLBandwidth
) – aQmi.NasDLBandwidth
.- 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
Qmi.NasDLBandwidth
specified at val.New in version 1.16.
- Qmi.nas_drx_get_string(val)¶
- Parameters:
val (
Qmi.NasDrx
) – aQmi.NasDrx
.- 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
Qmi.NasDrx
specified at val.New in version 1.28.
- Qmi.nas_evdo_sinr_level_get_string(val)¶
- Parameters:
val (
Qmi.NasEvdoSinrLevel
) – aQmi.NasEvdoSinrLevel
.- 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
Qmi.NasEvdoSinrLevel
specified at val.New in version 1.0.
- Qmi.nas_gsm_wcdma_acquisition_order_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasGsmWcdmaAcquisitionOrderPreference
) – aQmi.NasGsmWcdmaAcquisitionOrderPreference
.- 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
Qmi.NasGsmWcdmaAcquisitionOrderPreference
specified at val.New in version 1.0.
- Qmi.nas_hdr_personality_get_string(val)¶
- Parameters:
val (
Qmi.NasHdrPersonality
) – aQmi.NasHdrPersonality
.- 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
Qmi.NasHdrPersonality
specified at val.New in version 1.0.
- Qmi.nas_hdr_protocol_revision_get_string(val)¶
- Parameters:
val (
Qmi.NasHdrProtocolRevision
) – aQmi.NasHdrProtocolRevision
.- 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
Qmi.NasHdrProtocolRevision
specified at val.New in version 1.0.
- Qmi.nas_lte_band_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasLteBandPreference
) – bitmask ofQmi.NasLteBandPreference
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
Qmi.NasLteBandPreference
in mask.New in version 1.0.
- Qmi.nas_lte_cell_access_status_get_string(val)¶
- Parameters:
val (
Qmi.NasLteCellAccessStatus
) – aQmi.NasLteCellAccessStatus
.- 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
Qmi.NasLteCellAccessStatus
specified at val.New in version 1.24.
- Qmi.nas_lte_registration_domain_get_string(val)¶
- Parameters:
val (
Qmi.NasLteRegistrationDomain
) – aQmi.NasLteRegistrationDomain
.- 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
Qmi.NasLteRegistrationDomain
specified at val.New in version 1.24.
- Qmi.nas_lte_voice_domain_get_string(val)¶
- Parameters:
val (
Qmi.NasLteVoiceDomain
) – aQmi.NasLteVoiceDomain
.- 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
Qmi.NasLteVoiceDomain
specified at val.New in version 1.28.
- Qmi.nas_network_description_display_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkDescriptionDisplay
) – aQmi.NasNetworkDescriptionDisplay
.- 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
Qmi.NasNetworkDescriptionDisplay
specified at val.New in version 1.0.
- Qmi.nas_network_description_encoding_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkDescriptionEncoding
) – aQmi.NasNetworkDescriptionEncoding
.- 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
Qmi.NasNetworkDescriptionEncoding
specified at val.New in version 1.0.
- Qmi.nas_network_name_display_condition_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasNetworkNameDisplayCondition
) – bitmask ofQmi.NasNetworkNameDisplayCondition
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
Qmi.NasNetworkNameDisplayCondition
in mask.New in version 1.18.
- Qmi.nas_network_name_source_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkNameSource
) – aQmi.NasNetworkNameSource
.- 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
Qmi.NasNetworkNameSource
specified at val.New in version 1.24.
- Qmi.nas_network_register_type_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkRegisterType
) – aQmi.NasNetworkRegisterType
.- 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
Qmi.NasNetworkRegisterType
specified at val.New in version 1.0.
- Qmi.nas_network_scan_result_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkScanResult
) – aQmi.NasNetworkScanResult
.- 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
Qmi.NasNetworkScanResult
specified at val.New in version 1.24.
- Qmi.nas_network_scan_type_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasNetworkScanType
) – bitmask ofQmi.NasNetworkScanType
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
Qmi.NasNetworkScanType
in mask.New in version 1.0.
- Qmi.nas_network_selection_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkSelectionPreference
) – aQmi.NasNetworkSelectionPreference
.- 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
Qmi.NasNetworkSelectionPreference
specified at val.New in version 1.0.
- Qmi.nas_network_selection_registration_restriction_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkSelectionRegistrationRestriction
) – aQmi.NasNetworkSelectionRegistrationRestriction
.- 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
Qmi.NasNetworkSelectionRegistrationRestriction
specified at val.New in version 1.24.
- Qmi.nas_network_service_domain_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkServiceDomain
) – aQmi.NasNetworkServiceDomain
.- 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
Qmi.NasNetworkServiceDomain
specified at val.New in version 1.0.
- Qmi.nas_network_status_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasNetworkStatus
) – bitmask ofQmi.NasNetworkStatus
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
Qmi.NasNetworkStatus
in mask.New in version 1.0.
- Qmi.nas_network_type_get_string(val)¶
- Parameters:
val (
Qmi.NasNetworkType
) – aQmi.NasNetworkType
.- 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
Qmi.NasNetworkType
specified at val.New in version 1.0.
- Qmi.nas_plmn_access_technology_identifier_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasPlmnAccessTechnologyIdentifier
) – bitmask ofQmi.NasPlmnAccessTechnologyIdentifier
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
Qmi.NasPlmnAccessTechnologyIdentifier
in mask.New in version 1.30.
- Qmi.nas_plmn_encoding_scheme_get_string(val)¶
- Parameters:
val (
Qmi.NasPlmnEncodingScheme
) – aQmi.NasPlmnEncodingScheme
.- 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
Qmi.NasPlmnEncodingScheme
specified at val.New in version 1.18.
- Qmi.nas_plmn_language_id_get_string(val)¶
- Parameters:
val (
Qmi.NasPlmnLanguageId
) – aQmi.NasPlmnLanguageId
.- 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
Qmi.NasPlmnLanguageId
specified at val.New in version 1.28.
- Qmi.nas_plmn_name_country_initials_get_string(val)¶
- Parameters:
val (
Qmi.NasPlmnNameCountryInitials
) – aQmi.NasPlmnNameCountryInitials
.- 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
Qmi.NasPlmnNameCountryInitials
specified at val.New in version 1.18.
- Qmi.nas_plmn_name_spare_bits_get_string(val)¶
- Parameters:
val (
Qmi.NasPlmnNameSpareBits
) – aQmi.NasPlmnNameSpareBits
.- 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
Qmi.NasPlmnNameSpareBits
specified at val.New in version 1.18.
- Qmi.nas_preference_duration_get_string(val)¶
- Parameters:
val (
Qmi.NasPreferenceDuration
) – aQmi.NasPreferenceDuration
.- 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
Qmi.NasPreferenceDuration
specified at val.New in version 1.0.
- Qmi.nas_ps_attach_action_get_string(val)¶
- Parameters:
val (
Qmi.NasPsAttachAction
) – aQmi.NasPsAttachAction
.- 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
Qmi.NasPsAttachAction
specified at val.New in version 1.20.
- Qmi.nas_radio_interface_get_string(val)¶
- Parameters:
val (
Qmi.NasRadioInterface
) – aQmi.NasRadioInterface
.- 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
Qmi.NasRadioInterface
specified at val.New in version 1.0.
- Qmi.nas_radio_technology_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasRadioTechnologyPreference
) – bitmask ofQmi.NasRadioTechnologyPreference
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
Qmi.NasRadioTechnologyPreference
in mask.New in version 1.0.
- Qmi.nas_rat_mode_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasRatModePreference
) – bitmask ofQmi.NasRatModePreference
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
Qmi.NasRatModePreference
in mask.New in version 1.0.
- Qmi.nas_read_string_from_network_description_encoded_array(encoding, array)¶
- Parameters:
encoding (
Qmi.NasNetworkDescriptionEncoding
) – aQmi.NasNetworkDescriptionEncoding
.array (
bytes
) – aGLib.Array
with the encoded data.
- Returns:
the UTF-8 encoded string, or
None
if an error happened during the conversion. The returned value should be freed withGLib.free
().- Return type:
Converts the encoded data in array to UTF-8 and returns a newly allocated NUL-terminated string.
New in version 1.24.6.
- Qmi.nas_read_string_from_plmn_encoded_array(encoding, array)¶
- Parameters:
encoding (
Qmi.NasPlmnEncodingScheme
) – aQmi.NasPlmnEncodingScheme
.array (
bytes
) – aGLib.Array
with the encoded data.
- Returns:
the UTF-8 encoded string, or
None
if an error happened during the conversion. The returned value should be freed withGLib.free
().- Return type:
Converts the encoded data in array to UTF-8 and returns a newly allocated NUL-terminated string.
New in version 1.24.6.
- Qmi.nas_registration_state_get_string(val)¶
- Parameters:
val (
Qmi.NasRegistrationState
) – aQmi.NasRegistrationState
.- 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
Qmi.NasRegistrationState
specified at val.New in version 1.0.
- Qmi.nas_reject_cause_get_string(val)¶
- Parameters:
val (
Qmi.NasRejectCause
) – aQmi.NasRejectCause
.- 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
Qmi.NasRejectCause
specified at val.New in version 1.30.
- Qmi.nas_roaming_indicator_status_get_string(val)¶
- Parameters:
val (
Qmi.NasRoamingIndicatorStatus
) – aQmi.NasRoamingIndicatorStatus
.- 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
Qmi.NasRoamingIndicatorStatus
specified at val.New in version 1.0.
- Qmi.nas_roaming_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasRoamingPreference
) – aQmi.NasRoamingPreference
.- 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
Qmi.NasRoamingPreference
specified at val.New in version 1.0.
- Qmi.nas_roaming_status_get_string(val)¶
- Parameters:
val (
Qmi.NasRoamingStatus
) – aQmi.NasRoamingStatus
.- 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
Qmi.NasRoamingStatus
specified at val.New in version 1.0.
- Qmi.nas_scell_state_get_string(val)¶
- Parameters:
val (
Qmi.NasScellState
) – aQmi.NasScellState
.- 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
Qmi.NasScellState
specified at val.New in version 1.16.
- Qmi.nas_service_domain_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasServiceDomainPreference
) – aQmi.NasServiceDomainPreference
.- 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
Qmi.NasServiceDomainPreference
specified at val.New in version 1.0.
- Qmi.nas_service_status_get_string(val)¶
- Parameters:
val (
Qmi.NasServiceStatus
) – aQmi.NasServiceStatus
.- 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
Qmi.NasServiceStatus
specified at val.New in version 1.0.
- Qmi.nas_signal_strength_request_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasSignalStrengthRequest
) – bitmask ofQmi.NasSignalStrengthRequest
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
Qmi.NasSignalStrengthRequest
in mask.New in version 1.0.
- Qmi.nas_sim_reject_state_get_string(val)¶
- Parameters:
val (
Qmi.NasSimRejectState
) – aQmi.NasSimRejectState
.- 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
Qmi.NasSimRejectState
specified at val.New in version 1.0.
- Qmi.nas_swi_emm_connection_state_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiEmmConnectionState
) – aQmi.NasSwiEmmConnectionState
.- 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
Qmi.NasSwiEmmConnectionState
specified at val.New in version 1.24.
- Qmi.nas_swi_emm_state_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiEmmState
) – aQmi.NasSwiEmmState
.- 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
Qmi.NasSwiEmmState
specified at val.New in version 1.24.
- Qmi.nas_swi_ims_reg_state_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiImsRegState
) – aQmi.NasSwiImsRegState
.- 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
Qmi.NasSwiImsRegState
specified at val.New in version 1.24.
- Qmi.nas_swi_modem_mode_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiModemMode
) – aQmi.NasSwiModemMode
.- 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
Qmi.NasSwiModemMode
specified at val.New in version 1.24.
- Qmi.nas_swi_ps_state_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiPsState
) – aQmi.NasSwiPsState
.- 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
Qmi.NasSwiPsState
specified at val.New in version 1.24.
- Qmi.nas_swi_system_mode_get_string(val)¶
- Parameters:
val (
Qmi.NasSwiSystemMode
) – aQmi.NasSwiSystemMode
.- 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
Qmi.NasSwiSystemMode
specified at val.New in version 1.24.
- Qmi.nas_td_scdma_band_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.NasTdScdmaBandPreference
) – bitmask ofQmi.NasTdScdmaBandPreference
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
Qmi.NasTdScdmaBandPreference
in mask.New in version 1.0.
- Qmi.nas_usage_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasUsagePreference
) – aQmi.NasUsagePreference
.- 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
Qmi.NasUsagePreference
specified at val.New in version 1.24.
- Qmi.nas_voice_domain_preference_get_string(val)¶
- Parameters:
val (
Qmi.NasVoiceDomainPreference
) – aQmi.NasVoiceDomainPreference
.- 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
Qmi.NasVoiceDomainPreference
specified at val.New in version 1.24.
- Qmi.nas_wcdma_hs_service_get_string(val)¶
- Parameters:
val (
Qmi.NasWcdmaHsService
) – aQmi.NasWcdmaHsService
.- 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
Qmi.NasWcdmaHsService
specified at val.New in version 1.0.
- Qmi.nas_wcdma_rrc_state_get_string(val)¶
- Parameters:
val (
Qmi.NasWcdmaRrcState
) – aQmi.NasWcdmaRrcState
.- 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
Qmi.NasWcdmaRrcState
specified at val.New in version 1.10.
- Qmi.oma_hfa_feature_done_state_get_string(val)¶
- Parameters:
val (
Qmi.OmaHfaFeatureDoneState
) – aQmi.OmaHfaFeatureDoneState
.- 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
Qmi.OmaHfaFeatureDoneState
specified at val.New in version 1.6.
- Qmi.oma_session_failed_reason_get_string(val)¶
- Parameters:
val (
Qmi.OmaSessionFailedReason
) – aQmi.OmaSessionFailedReason
.- 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
Qmi.OmaSessionFailedReason
specified at val.New in version 1.6.
- Qmi.oma_session_state_get_string(val)¶
- Parameters:
val (
Qmi.OmaSessionState
) – aQmi.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
Qmi.OmaSessionState
specified at val.New in version 1.6.
- Qmi.oma_session_type_get_string(val)¶
- Parameters:
val (
Qmi.OmaSessionType
) – aQmi.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
Qmi.OmaSessionType
specified at val.New in version 1.6.
- Qmi.pbm_event_registration_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.PbmEventRegistrationFlag
) – bitmask ofQmi.PbmEventRegistrationFlag
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
Qmi.PbmEventRegistrationFlag
in mask.New in version 1.6.
- Qmi.pbm_phonebook_type_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.PbmPhonebookType
) – bitmask ofQmi.PbmPhonebookType
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
Qmi.PbmPhonebookType
in mask.New in version 1.6.
- Qmi.pbm_session_type_get_string(val)¶
- Parameters:
val (
Qmi.PbmSessionType
) – aQmi.PbmSessionType
.- 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
Qmi.PbmSessionType
specified at val.New in version 1.6.
- Qmi.pdc_configuration_type_get_string(val)¶
- Parameters:
val (
Qmi.PdcConfigurationType
) – aQmi.PdcConfigurationType
.- 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
Qmi.PdcConfigurationType
specified at val.New in version 1.18.
- Qmi.pdc_refresh_event_type_get_string(val)¶
- Parameters:
val (
Qmi.PdcRefreshEventType
) – aQmi.PdcRefreshEventType
.- 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
Qmi.PdcRefreshEventType
specified at val.New in version 1.32.
- Qmi.pds_data_valid_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.PdsDataValid
) – bitmask ofQmi.PdsDataValid
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
Qmi.PdsDataValid
in mask.New in version 1.0.
- Qmi.pds_network_mode_get_string(val)¶
- Parameters:
val (
Qmi.PdsNetworkMode
) – aQmi.PdsNetworkMode
.- 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
Qmi.PdsNetworkMode
specified at val.New in version 1.12.
- Qmi.pds_operating_mode_get_string(val)¶
- Parameters:
val (
Qmi.PdsOperatingMode
) – aQmi.PdsOperatingMode
.- 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
Qmi.PdsOperatingMode
specified at val.New in version 1.12.
- Qmi.pds_operation_mode_get_string(val)¶
- Parameters:
val (
Qmi.PdsOperationMode
) – aQmi.PdsOperationMode
.- 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
Qmi.PdsOperationMode
specified at val.New in version 1.0.
- Qmi.pds_position_session_status_get_string(val)¶
- Parameters:
val (
Qmi.PdsPositionSessionStatus
) – aQmi.PdsPositionSessionStatus
.- 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
Qmi.PdsPositionSessionStatus
specified at val.New in version 1.0.
- Qmi.pds_tracking_session_state_get_string(val)¶
- Parameters:
val (
Qmi.PdsTrackingSessionState
) – aQmi.PdsTrackingSessionState
.- 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
Qmi.PdsTrackingSessionState
specified at val.New in version 1.0.
- Qmi.protocol_error_get_string(val)¶
- Parameters:
val (
Qmi.ProtocolError
) – aQmi.ProtocolError
.- 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
Qmi.ProtocolError
specified at val.New in version 1.0.
- Qmi.qos_event_get_string(val)¶
- Parameters:
val (
Qmi.QosEvent
) – aQmi.QosEvent
.- 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
Qmi.QosEvent
specified at val.New in version 1.22.
- Qmi.qos_status_get_string(val)¶
- Parameters:
val (
Qmi.QosStatus
) – aQmi.QosStatus
.- 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
Qmi.QosStatus
specified at val.New in version 1.22.
- Qmi.sar_rf_state_get_string(val)¶
- Parameters:
val (
Qmi.SarRfState
) – aQmi.SarRfState
.- 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
Qmi.SarRfState
specified at val.New in version 1.28.
- Qmi.service_get_string(val)¶
- Parameters:
val (
Qmi.Service
) – aQmi.Service
.- 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
Qmi.Service
specified at val.New in version 1.0.
- Qmi.sio_port_get_string(val)¶
- Parameters:
val (
Qmi.SioPort
) – aQmi.SioPort
.- 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
Qmi.SioPort
specified at val.New in version 1.28.
- Qmi.ssc_report_type_get_string(val)¶
- Parameters:
val (
Qmi.SscReportType
) – aQmi.SscReportType
.- 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
Qmi.SscReportType
specified at val.New in version 1.34.
- Qmi.uim_card_application_personalization_feature_get_string(val)¶
- Parameters:
val (
Qmi.UimCardApplicationPersonalizationFeature
) – aQmi.UimCardApplicationPersonalizationFeature
.- 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
Qmi.UimCardApplicationPersonalizationFeature
specified at val.New in version 1.10.
- Qmi.uim_card_application_personalization_feature_status_get_string(val)¶
- Parameters:
val (
Qmi.UimCardApplicationPersonalizationFeatureStatus
) – aQmi.UimCardApplicationPersonalizationFeatureStatus
.- 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
Qmi.UimCardApplicationPersonalizationFeatureStatus
specified at val.New in version 1.34.
- Qmi.uim_card_application_personalization_state_get_string(val)¶
- Parameters:
val (
Qmi.UimCardApplicationPersonalizationState
) – aQmi.UimCardApplicationPersonalizationState
.- 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
Qmi.UimCardApplicationPersonalizationState
specified at val.New in version 1.10.
- Qmi.uim_card_application_state_get_string(val)¶
- Parameters:
val (
Qmi.UimCardApplicationState
) – aQmi.UimCardApplicationState
.- 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
Qmi.UimCardApplicationState
specified at val.New in version 1.10.
- Qmi.uim_card_application_type_get_string(val)¶
- Parameters:
val (
Qmi.UimCardApplicationType
) – aQmi.UimCardApplicationType
.- 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
Qmi.UimCardApplicationType
specified at val.New in version 1.10.
- Qmi.uim_card_error_get_string(val)¶
- Parameters:
val (
Qmi.UimCardError
) – aQmi.UimCardError
.- 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
Qmi.UimCardError
specified at val.New in version 1.10.
- Qmi.uim_card_protocol_get_string(val)¶
- Parameters:
val (
Qmi.UimCardProtocol
) – aQmi.UimCardProtocol
.- 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
Qmi.UimCardProtocol
specified at val.New in version 1.26.
- Qmi.uim_card_state_get_string(val)¶
- Parameters:
val (
Qmi.UimCardState
) – aQmi.UimCardState
.- 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
Qmi.UimCardState
specified at val.New in version 1.10.
- Qmi.uim_configuration_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.UimConfiguration
) – bitmask ofQmi.UimConfiguration
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
Qmi.UimConfiguration
in mask.New in version 1.30.
- Qmi.uim_depersonalization_operation_get_string(val)¶
- Parameters:
val (
Qmi.UimDepersonalizationOperation
) – aQmi.UimDepersonalizationOperation
.- 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
Qmi.UimDepersonalizationOperation
specified at val.New in version 1.30.
- Qmi.uim_event_registration_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.UimEventRegistrationFlag
) – bitmask ofQmi.UimEventRegistrationFlag
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
Qmi.UimEventRegistrationFlag
in mask.New in version 1.22.4.
- Qmi.uim_file_type_get_string(val)¶
- Parameters:
val (
Qmi.UimFileType
) – aQmi.UimFileType
.- 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
Qmi.UimFileType
specified at val.New in version 1.6.
- Qmi.uim_physical_card_state_get_string(val)¶
- Parameters:
val (
Qmi.UimPhysicalCardState
) – aQmi.UimPhysicalCardState
.- 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
Qmi.UimPhysicalCardState
specified at val.New in version 1.26.
- Qmi.uim_pin_id_get_string(val)¶
- Parameters:
val (
Qmi.UimPinId
) – aQmi.UimPinId
.- 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
Qmi.UimPinId
specified at val.New in version 1.14.
- Qmi.uim_pin_state_get_string(val)¶
- Parameters:
val (
Qmi.UimPinState
) – aQmi.UimPinState
.- 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
Qmi.UimPinState
specified at val.New in version 1.10.
- Qmi.uim_refresh_mode_get_string(val)¶
- Parameters:
val (
Qmi.UimRefreshMode
) – aQmi.UimRefreshMode
.- 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
Qmi.UimRefreshMode
specified at val.New in version 1.28.
- Qmi.uim_refresh_stage_get_string(val)¶
- Parameters:
val (
Qmi.UimRefreshStage
) – aQmi.UimRefreshStage
.- 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
Qmi.UimRefreshStage
specified at val.New in version 1.28.
- Qmi.uim_security_attribute_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.UimSecurityAttribute
) – bitmask ofQmi.UimSecurityAttribute
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
Qmi.UimSecurityAttribute
in mask.New in version 1.6.
- Qmi.uim_security_attribute_logic_get_string(val)¶
- Parameters:
val (
Qmi.UimSecurityAttributeLogic
) – aQmi.UimSecurityAttributeLogic
.- 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
Qmi.UimSecurityAttributeLogic
specified at val.New in version 1.6.
- Qmi.uim_session_type_get_string(val)¶
- Parameters:
val (
Qmi.UimSessionType
) – aQmi.UimSessionType
.- 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
Qmi.UimSessionType
specified at val.New in version 1.6.
- Qmi.uim_slot_state_get_string(val)¶
- Parameters:
val (
Qmi.UimSlotState
) – aQmi.UimSlotState
.- 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
Qmi.UimSlotState
specified at val.New in version 1.26.
- Qmi.utils_get_show_personal_info()¶
-
Checks whether personal info should be hidden when traces are enabled.
New in version 1.32.
- Qmi.utils_get_traces_enabled()¶
-
Checks whether QMI message traces are currently enabled.
New in version 1.0.
- Qmi.utils_set_show_personal_info(show_personal_info)¶
-
Sets whether personal info is printed when traces are enabled.
New in version 1.32.
- Qmi.utils_set_traces_enabled(enabled)¶
-
Sets whether QMI message traces are enabled or disabled.
New in version 1.0.
- Qmi.voice_alpha_data_coding_scheme_get_string(val)¶
- Parameters:
val (
Qmi.VoiceAlphaDataCodingScheme
) – aQmi.VoiceAlphaDataCodingScheme
.- 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
Qmi.VoiceAlphaDataCodingScheme
specified at val.New in version 1.26.
- Qmi.voice_als_get_string(val)¶
- Parameters:
val (
Qmi.VoiceAls
) – aQmi.VoiceAls
.- 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
Qmi.VoiceAls
specified at val.New in version 1.14.
- Qmi.voice_call_control_result_type_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallControlResultType
) – aQmi.VoiceCallControlResultType
.- 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
Qmi.VoiceCallControlResultType
specified at val.New in version 1.26.
- Qmi.voice_call_control_supplementary_service_type_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallControlSupplementaryServiceType
) – aQmi.VoiceCallControlSupplementaryServiceType
.- 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
Qmi.VoiceCallControlSupplementaryServiceType
specified at val.New in version 1.26.
- Qmi.voice_call_direction_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallDirection
) – aQmi.VoiceCallDirection
.- 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
Qmi.VoiceCallDirection
specified at val.New in version 1.14.
- Qmi.voice_call_end_reason_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallEndReason
) – aQmi.VoiceCallEndReason
.- 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
Qmi.VoiceCallEndReason
specified at val.New in version 1.26.
- Qmi.voice_call_mode_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallMode
) – aQmi.VoiceCallMode
.- 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
Qmi.VoiceCallMode
specified at val.New in version 1.14.
- Qmi.voice_call_state_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallState
) – aQmi.VoiceCallState
.- 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
Qmi.VoiceCallState
specified at val.New in version 1.14.
- Qmi.voice_call_type_get_string(val)¶
- Parameters:
val (
Qmi.VoiceCallType
) – aQmi.VoiceCallType
.- 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
Qmi.VoiceCallType
specified at val.New in version 1.14.
- Qmi.voice_domain_get_string(val)¶
- Parameters:
val (
Qmi.VoiceDomain
) – aQmi.VoiceDomain
.- 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
Qmi.VoiceDomain
specified at val.New in version 1.14.
- Qmi.voice_presentation_get_string(val)¶
- Parameters:
val (
Qmi.VoicePresentation
) – aQmi.VoicePresentation
.- 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
Qmi.VoicePresentation
specified at val.New in version 1.14.
- Qmi.voice_privacy_get_string(val)¶
- Parameters:
val (
Qmi.VoicePrivacy
) – aQmi.VoicePrivacy
.- 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
Qmi.VoicePrivacy
specified at val.New in version 1.14.
- Qmi.voice_service_option_get_string(val)¶
- Parameters:
val (
Qmi.VoiceServiceOption
) – aQmi.VoiceServiceOption
.- 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
Qmi.VoiceServiceOption
specified at val.New in version 1.14.
- Qmi.voice_supplementary_service_action_get_string(val)¶
- Parameters:
val (
Qmi.VoiceSupplementaryServiceAction
) – aQmi.VoiceSupplementaryServiceAction
.- 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
Qmi.VoiceSupplementaryServiceAction
specified at val.New in version 1.30.
- Qmi.voice_supplementary_service_notification_type_get_string(val)¶
- Parameters:
val (
Qmi.VoiceSupplementaryServiceNotificationType
) – aQmi.VoiceSupplementaryServiceNotificationType
.- 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
Qmi.VoiceSupplementaryServiceNotificationType
specified at val.New in version 1.30.
- Qmi.voice_supplementary_service_reason_get_string(val)¶
- Parameters:
val (
Qmi.VoiceSupplementaryServiceReason
) – aQmi.VoiceSupplementaryServiceReason
.- 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
Qmi.VoiceSupplementaryServiceReason
specified at val.New in version 1.30.
- Qmi.voice_supplementary_service_type_get_string(val)¶
- Parameters:
val (
Qmi.VoiceSupplementaryServiceType
) – aQmi.VoiceSupplementaryServiceType
.- 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
Qmi.VoiceSupplementaryServiceType
specified at val.New in version 1.30.
- Qmi.voice_tty_mode_get_string(val)¶
- Parameters:
val (
Qmi.VoiceTtyMode
) – aQmi.VoiceTtyMode
.- 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
Qmi.VoiceTtyMode
specified at val.New in version 1.14.
- Qmi.voice_user_action_get_string(val)¶
- Parameters:
val (
Qmi.VoiceUserAction
) – aQmi.VoiceUserAction
.- 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
Qmi.VoiceUserAction
specified at val.New in version 1.26.
- Qmi.voice_uss_data_coding_scheme_get_string(val)¶
- Parameters:
val (
Qmi.VoiceUssDataCodingScheme
) – aQmi.VoiceUssDataCodingScheme
.- 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
Qmi.VoiceUssDataCodingScheme
specified at val.New in version 1.26.
- Qmi.voice_wcdma_amr_status_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.VoiceWcdmaAmrStatus
) – bitmask ofQmi.VoiceWcdmaAmrStatus
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
Qmi.VoiceWcdmaAmrStatus
in mask.New in version 1.14.
- Qmi.wda_data_aggregation_protocol_get_string(val)¶
- Parameters:
val (
Qmi.WdaDataAggregationProtocol
) – aQmi.WdaDataAggregationProtocol
.- 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
Qmi.WdaDataAggregationProtocol
specified at val.New in version 1.10.
- Qmi.wda_link_layer_protocol_get_string(val)¶
- Parameters:
val (
Qmi.WdaLinkLayerProtocol
) – aQmi.WdaLinkLayerProtocol
.- 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
Qmi.WdaLinkLayerProtocol
specified at val.New in version 1.10.
- Qmi.wds_apn_type_mask_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsApnTypeMask
) – bitmask ofQmi.WdsApnTypeMask
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
Qmi.WdsApnTypeMask
in mask.New in version 1.30.
- Qmi.wds_attach_pdn_list_action_get_string(val)¶
- Parameters:
val (
Qmi.WdsAttachPdnListAction
) – aQmi.WdsAttachPdnListAction
.- 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
Qmi.WdsAttachPdnListAction
specified at val.New in version 1.28.
- Qmi.wds_authentication_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsAuthentication
) – bitmask ofQmi.WdsAuthentication
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
Qmi.WdsAuthentication
in mask.New in version 1.0.
- Qmi.wds_autoconnect_setting_get_string(val)¶
- Parameters:
val (
Qmi.WdsAutoconnectSetting
) – aQmi.WdsAutoconnectSetting
.- 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
Qmi.WdsAutoconnectSetting
specified at val.New in version 1.14.
- Qmi.wds_autoconnect_setting_roaming_get_string(val)¶
- Parameters:
val (
Qmi.WdsAutoconnectSettingRoaming
) – aQmi.WdsAutoconnectSettingRoaming
.- 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
Qmi.WdsAutoconnectSettingRoaming
specified at val.New in version 1.14.
- Qmi.wds_call_end_reason_get_string(val)¶
- Parameters:
val (
Qmi.WdsCallEndReason
) – aQmi.WdsCallEndReason
.- 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
Qmi.WdsCallEndReason
specified at val.New in version 1.0.
- Qmi.wds_call_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsCallType
) – aQmi.WdsCallType
.- 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
Qmi.WdsCallType
specified at val.New in version 1.0.
- Qmi.wds_client_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsClientType
) – aQmi.WdsClientType
.- 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
Qmi.WdsClientType
specified at val.New in version 1.18.
- Qmi.wds_connection_status_get_string(val)¶
- Parameters:
val (
Qmi.WdsConnectionStatus
) – aQmi.WdsConnectionStatus
.- 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
Qmi.WdsConnectionStatus
specified at val.New in version 1.0.
- Qmi.wds_data_bearer_technology_get_string(val)¶
- Parameters:
val (
Qmi.WdsDataBearerTechnology
) – aQmi.WdsDataBearerTechnology
.- 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
Qmi.WdsDataBearerTechnology
specified at val.New in version 1.0.
- Qmi.wds_data_call_status_get_string(val)¶
- Parameters:
val (
Qmi.WdsDataCallStatus
) – aQmi.WdsDataCallStatus
.- 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
Qmi.WdsDataCallStatus
specified at val.New in version 1.18.
- Qmi.wds_data_call_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsDataCallType
) – aQmi.WdsDataCallType
.- 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
Qmi.WdsDataCallType
specified at val.New in version 1.18.
- Qmi.wds_data_system_get_string(val)¶
- Parameters:
val (
Qmi.WdsDataSystem
) – aQmi.WdsDataSystem
.- 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
Qmi.WdsDataSystem
specified at val.New in version 1.18.
- Qmi.wds_data_system_network_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsDataSystemNetworkType
) – aQmi.WdsDataSystemNetworkType
.- 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
Qmi.WdsDataSystemNetworkType
specified at val.New in version 1.14.
- Qmi.wds_delivery_order_get_string(val)¶
- Parameters:
val (
Qmi.WdsDeliveryOrder
) – aQmi.WdsDeliveryOrder
.- 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
Qmi.WdsDeliveryOrder
specified at val.New in version 1.14.
- Qmi.wds_dormancy_status_get_string(val)¶
- Parameters:
val (
Qmi.WdsDormancyStatus
) – aQmi.WdsDormancyStatus
.- 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
Qmi.WdsDormancyStatus
specified at val.New in version 1.18.
- Qmi.wds_ds_profile_error_get_string(val)¶
- Parameters:
val (
Qmi.WdsDsProfileError
) – aQmi.WdsDsProfileError
.- 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
Qmi.WdsDsProfileError
specified at val.New in version 1.8.
- Qmi.wds_extended_data_bearer_technology_3gpp2_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsExtendedDataBearerTechnology3gpp2
) – bitmask ofQmi.WdsExtendedDataBearerTechnology3gpp2
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
Qmi.WdsExtendedDataBearerTechnology3gpp2
in mask.New in version 1.18.
- Qmi.wds_extended_data_bearer_technology_3gpp_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsExtendedDataBearerTechnology3gpp
) – bitmask ofQmi.WdsExtendedDataBearerTechnology3gpp
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
Qmi.WdsExtendedDataBearerTechnology3gpp
in mask.New in version 1.18.
- Qmi.wds_extended_technology_preference_get_string(val)¶
- Parameters:
val (
Qmi.WdsExtendedTechnologyPreference
) – aQmi.WdsExtendedTechnologyPreference
.- 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
Qmi.WdsExtendedTechnologyPreference
specified at val.New in version 1.0.
- Qmi.wds_ip_family_get_string(val)¶
- Parameters:
val (
Qmi.WdsIpFamily
) – aQmi.WdsIpFamily
.- 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
Qmi.WdsIpFamily
specified at val.New in version 1.0.
- Qmi.wds_ip_support_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsIpSupportType
) – aQmi.WdsIpSupportType
.- 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
Qmi.WdsIpSupportType
specified at val.New in version 1.28.
- Qmi.wds_network_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsNetworkType
) – aQmi.WdsNetworkType
.- 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
Qmi.WdsNetworkType
specified at val.New in version 1.0.
- Qmi.wds_packet_statistics_mask_flag_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsPacketStatisticsMaskFlag
) – bitmask ofQmi.WdsPacketStatisticsMaskFlag
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
Qmi.WdsPacketStatisticsMaskFlag
in mask.New in version 1.6.
- Qmi.wds_pdp_data_compression_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsPdpDataCompressionType
) – aQmi.WdsPdpDataCompressionType
.- 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
Qmi.WdsPdpDataCompressionType
specified at val.New in version 1.18.
- Qmi.wds_pdp_header_compression_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsPdpHeaderCompressionType
) – aQmi.WdsPdpHeaderCompressionType
.- 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
Qmi.WdsPdpHeaderCompressionType
specified at val.New in version 1.18.
- Qmi.wds_pdp_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsPdpType
) – aQmi.WdsPdpType
.- 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
Qmi.WdsPdpType
specified at val.New in version 1.0.
- Qmi.wds_profile_change_event_get_string(val)¶
- Parameters:
val (
Qmi.WdsProfileChangeEvent
) – aQmi.WdsProfileChangeEvent
.- 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
Qmi.WdsProfileChangeEvent
specified at val.New in version 1.34.
- Qmi.wds_profile_family_get_string(val)¶
- Parameters:
val (
Qmi.WdsProfileFamily
) – aQmi.WdsProfileFamily
.- 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
Qmi.WdsProfileFamily
specified at val.New in version 1.22.
- Qmi.wds_profile_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsProfileType
) – aQmi.WdsProfileType
.- 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
Qmi.WdsProfileType
specified at val.New in version 1.0.
- Qmi.wds_qos_class_identifier_get_string(val)¶
- Parameters:
val (
Qmi.WdsQosClassIdentifier
) – aQmi.WdsQosClassIdentifier
.- 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
Qmi.WdsQosClassIdentifier
specified at val.New in version 1.18.
- Qmi.wds_radio_access_technology_get_string(val)¶
- Parameters:
val (
Qmi.WdsRadioAccessTechnology
) – aQmi.WdsRadioAccessTechnology
.- 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
Qmi.WdsRadioAccessTechnology
specified at val.New in version 1.18.
- Qmi.wds_rat_3gpp2_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsRat3gpp2
) – bitmask ofQmi.WdsRat3gpp2
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
Qmi.WdsRat3gpp2
in mask.New in version 1.0.
- Qmi.wds_rat_3gpp_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsRat3gpp
) – bitmask ofQmi.WdsRat3gpp
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
Qmi.WdsRat3gpp
in mask.New in version 1.0.
- Qmi.wds_requested_settings_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsRequestedSettings
) – bitmask ofQmi.WdsRequestedSettings
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
Qmi.WdsRequestedSettings
in mask.New in version 1.32.
- Qmi.wds_sdu_erroneous_delivery_get_string(val)¶
- Parameters:
val (
Qmi.WdsSduErroneousDelivery
) – aQmi.WdsSduErroneousDelivery
.- 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
Qmi.WdsSduErroneousDelivery
specified at val.New in version 1.14.
- Qmi.wds_sdu_error_ratio_get_string(val)¶
- Parameters:
val (
Qmi.WdsSduErrorRatio
) – aQmi.WdsSduErrorRatio
.- 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
Qmi.WdsSduErrorRatio
specified at val.New in version 1.14.
- Qmi.wds_sdu_residual_bit_error_ratio_get_string(val)¶
- Parameters:
val (
Qmi.WdsSduResidualBitErrorRatio
) – aQmi.WdsSduResidualBitErrorRatio
.- 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
Qmi.WdsSduResidualBitErrorRatio
specified at val.New in version 1.14.
- Qmi.wds_set_event_report_transfer_statistics_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsSetEventReportTransferStatistics
) – bitmask ofQmi.WdsSetEventReportTransferStatistics
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
Qmi.WdsSetEventReportTransferStatistics
in mask.New in version 1.18.
- Qmi.wds_so_cdma1x_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsSoCdma1x
) – bitmask ofQmi.WdsSoCdma1x
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
Qmi.WdsSoCdma1x
in mask.New in version 1.0.
- Qmi.wds_so_evdo_rev0_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsSoEvdoRev0
) – bitmask ofQmi.WdsSoEvdoRev0
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
Qmi.WdsSoEvdoRev0
in mask.New in version 1.18.
- Qmi.wds_so_evdo_reva_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsSoEvdoRevA
) – bitmask ofQmi.WdsSoEvdoRevA
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
Qmi.WdsSoEvdoRevA
in mask.New in version 1.0.
- Qmi.wds_so_evdo_revb_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsSoEvdoRevB
) – bitmask ofQmi.WdsSoEvdoRevB
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
Qmi.WdsSoEvdoRevB
in mask.New in version 1.18.
- Qmi.wds_technology_preference_build_string_from_mask(mask)¶
- Parameters:
mask (
Qmi.WdsTechnologyPreference
) – bitmask ofQmi.WdsTechnologyPreference
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
Qmi.WdsTechnologyPreference
in mask.New in version 1.0.
- Qmi.wds_tethered_call_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsTetheredCallType
) – aQmi.WdsTetheredCallType
.- 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
Qmi.WdsTetheredCallType
specified at val.New in version 1.18.
- Qmi.wds_traffic_class_get_string(val)¶
- Parameters:
val (
Qmi.WdsTrafficClass
) – aQmi.WdsTrafficClass
.- 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
Qmi.WdsTrafficClass
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_3gpp_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReason3gpp
) – aQmi.WdsVerboseCallEndReason3gpp
.- 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
Qmi.WdsVerboseCallEndReason3gpp
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_cm_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonCm
) – aQmi.WdsVerboseCallEndReasonCm
.- 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
Qmi.WdsVerboseCallEndReasonCm
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_ehrpd_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonEhrpd
) – aQmi.WdsVerboseCallEndReasonEhrpd
.- 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
Qmi.WdsVerboseCallEndReasonEhrpd
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_get_string(type, reason)¶
- Parameters:
type (
Qmi.WdsVerboseCallEndReasonType
) – aQmi.WdsVerboseCallEndReasonType
.reason (
int
) – the reason id.
- Returns:
a string with the reason, or
None
if not found. Do not free the returned value.- Return type:
Get verbose call end reason based on the reason type.
New in version 1.0.
- Qmi.wds_verbose_call_end_reason_internal_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonInternal
) – aQmi.WdsVerboseCallEndReasonInternal
.- 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
Qmi.WdsVerboseCallEndReasonInternal
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_ipv6_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonIpv6
) – aQmi.WdsVerboseCallEndReasonIpv6
.- 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
Qmi.WdsVerboseCallEndReasonIpv6
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_mip_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonMip
) – aQmi.WdsVerboseCallEndReasonMip
.- 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
Qmi.WdsVerboseCallEndReasonMip
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_ppp_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonPpp
) – aQmi.WdsVerboseCallEndReasonPpp
.- 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
Qmi.WdsVerboseCallEndReasonPpp
specified at val.New in version 1.0.
- Qmi.wds_verbose_call_end_reason_type_get_string(val)¶
- Parameters:
val (
Qmi.WdsVerboseCallEndReasonType
) – aQmi.WdsVerboseCallEndReasonType
.- 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
Qmi.WdsVerboseCallEndReasonType
specified at val.New in version 1.0.
- Qmi.wms_ack_failure_cause_get_string(val)¶
- Parameters:
val (
Qmi.WmsAckFailureCause
) – aQmi.WmsAckFailureCause
.- 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
Qmi.WmsAckFailureCause
specified at val.New in version 1.28.
- Qmi.wms_ack_indicator_get_string(val)¶
- Parameters:
val (
Qmi.WmsAckIndicator
) – aQmi.WmsAckIndicator
.- 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
Qmi.WmsAckIndicator
specified at val.New in version 1.0.
- Qmi.wms_cdma_cause_code_get_string(val)¶
- Parameters:
val (
Qmi.WmsCdmaCauseCode
) – aQmi.WmsCdmaCauseCode
.- 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
Qmi.WmsCdmaCauseCode
specified at val.New in version 1.0.
- Qmi.wms_cdma_error_class_get_string(val)¶
- Parameters:
val (
Qmi.WmsCdmaErrorClass
) – aQmi.WmsCdmaErrorClass
.- 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
Qmi.WmsCdmaErrorClass
specified at val.New in version 1.0.
- Qmi.wms_cdma_service_option_get_string(val)¶
- Parameters:
val (
Qmi.WmsCdmaServiceOption
) – aQmi.WmsCdmaServiceOption
.- 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
Qmi.WmsCdmaServiceOption
specified at val.New in version 1.0.
- Qmi.wms_gsm_umts_rp_cause_get_string(val)¶
- Parameters:
val (
Qmi.WmsGsmUmtsRpCause
) – aQmi.WmsGsmUmtsRpCause
.- 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
Qmi.WmsGsmUmtsRpCause
specified at val.New in version 1.0.
- Qmi.wms_gsm_umts_tp_cause_get_string(val)¶
- Parameters:
val (
Qmi.WmsGsmUmtsTpCause
) – aQmi.WmsGsmUmtsTpCause
.- 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
Qmi.WmsGsmUmtsTpCause
specified at val.New in version 1.0.
- Qmi.wms_message_class_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageClass
) – aQmi.WmsMessageClass
.- 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
Qmi.WmsMessageClass
specified at val.New in version 1.0.
- Qmi.wms_message_delivery_failure_type_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageDeliveryFailureType
) – aQmi.WmsMessageDeliveryFailureType
.- 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
Qmi.WmsMessageDeliveryFailureType
specified at val.New in version 1.0.
- Qmi.wms_message_format_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageFormat
) – aQmi.WmsMessageFormat
.- 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
Qmi.WmsMessageFormat
specified at val.New in version 1.0.
- Qmi.wms_message_mode_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageMode
) – aQmi.WmsMessageMode
.- 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
Qmi.WmsMessageMode
specified at val.New in version 1.0.
- Qmi.wms_message_protocol_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageProtocol
) – aQmi.WmsMessageProtocol
.- 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
Qmi.WmsMessageProtocol
specified at val.New in version 1.0.
- Qmi.wms_message_tag_type_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageTagType
) – aQmi.WmsMessageTagType
.- 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
Qmi.WmsMessageTagType
specified at val.New in version 1.0.
- Qmi.wms_message_type_get_string(val)¶
- Parameters:
val (
Qmi.WmsMessageType
) – aQmi.WmsMessageType
.- 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
Qmi.WmsMessageType
specified at val.New in version 1.0.
- Qmi.wms_notification_type_get_string(val)¶
- Parameters:
val (
Qmi.WmsNotificationType
) – aQmi.WmsNotificationType
.- 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
Qmi.WmsNotificationType
specified at val.New in version 1.0.
- Qmi.wms_receipt_action_get_string(val)¶
- Parameters:
val (
Qmi.WmsReceiptAction
) – aQmi.WmsReceiptAction
.- 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
Qmi.WmsReceiptAction
specified at val.New in version 1.0.
- Qmi.wms_storage_type_get_string(val)¶
- Parameters:
val (
Qmi.WmsStorageType
) – aQmi.WmsStorageType
.- 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
Qmi.WmsStorageType
specified at val.New in version 1.0.
- Qmi.wms_transfer_indication_get_string(val)¶
- Parameters:
val (
Qmi.WmsTransferIndication
) – aQmi.WmsTransferIndication
.- 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
Qmi.WmsTransferIndication
specified at val.New in version 1.0.