Top |
MMCdmaManualActivationPropertiesMMCdmaManualActivationProperties — Helper object to handle manual CDMA activation properties. |
The MMCdmaManualActivationProperties is an object handling the properties required during a manual CDMA activation request.
MMCdmaManualActivationProperties *
mm_cdma_manual_activation_properties_new
(void
);
Creates a new MMCdmaManualActivationProperties object.
A MMCdmaManualActivationProperties. The returned value should be freed with g_object_unref()
.
[transfer full]
const gchar *
mm_cdma_manual_activation_properties_get_spc
(MMCdmaManualActivationProperties *self
);
Gets the Service Programming Code.
gboolean mm_cdma_manual_activation_properties_set_spc (MMCdmaManualActivationProperties *self
,const gchar *spc
,GError **error
);
Sets the Service Programming Code.
guint16
mm_cdma_manual_activation_properties_get_sid
(MMCdmaManualActivationProperties *self
);
Gets the System Identification Number.
void mm_cdma_manual_activation_properties_set_sid (MMCdmaManualActivationProperties *self
,guint16 sid
);
Sets the Service Identification Number.
const gchar *
mm_cdma_manual_activation_properties_get_mdn
(MMCdmaManualActivationProperties *self
);
Gets the Mobile Directory Number.
gboolean mm_cdma_manual_activation_properties_set_mdn (MMCdmaManualActivationProperties *self
,const gchar *mdn
,GError **error
);
Sets the Mobile Directory Number.
const gchar *
mm_cdma_manual_activation_properties_get_min
(MMCdmaManualActivationProperties *self
);
Gets the Mobile Indentification Number.
gboolean mm_cdma_manual_activation_properties_set_min (MMCdmaManualActivationProperties *self
,const gchar *min
,GError **error
);
Sets the Mobile Identification Number.
const gchar *
mm_cdma_manual_activation_properties_get_mn_ha_key
(MMCdmaManualActivationProperties *self
);
Gets the MN-HA key.
gboolean mm_cdma_manual_activation_properties_set_mn_ha_key (MMCdmaManualActivationProperties *self
,const gchar *mn_ha_key
,GError **error
);
Sets the Mobile Identification Number.
self |
||
mn_ha_key |
The MN-HA key string, maximum 16 characters. |
|
error |
Return location for error or |
const gchar *
mm_cdma_manual_activation_properties_get_mn_aaa_key
(MMCdmaManualActivationProperties *self
);
Gets the MN-AAA key.
gboolean mm_cdma_manual_activation_properties_set_mn_aaa_key (MMCdmaManualActivationProperties *self
,const gchar *mn_aaa_key
,GError **error
);
Sets the Mobile Identification Number.
self |
||
mn_aaa_key |
The MN-AAA key string, maximum 16 characters. |
|
error |
Return location for error or |
const guint8 * mm_cdma_manual_activation_properties_get_prl (MMCdmaManualActivationProperties *self
,gsize *prl_len
);
Gets the Preferred Roaming List.
GByteArray *
mm_cdma_manual_activation_properties_peek_prl_bytearray
(MMCdmaManualActivationProperties *self
);
Gets the Preferred Roaming List.
A GByteArray with the PRL, or NULL
if it doesn't contain any. Do not free the returned value, it is owned by self
.
[transfer none]
GByteArray *
mm_cdma_manual_activation_properties_get_prl_bytearray
(MMCdmaManualActivationProperties *self
);
Gets the Preferred Roaming List.
A GByteArray with the PRL, or NULL
if it doesn't contain any. The returned value should be freed with g_byte_array_unref()
.
[transfer full]
gboolean mm_cdma_manual_activation_properties_set_prl (MMCdmaManualActivationProperties *self
,const guint8 *prl
,gsize prl_length
,GError **error
);
Sets the Preferred Roaming List.
gboolean mm_cdma_manual_activation_properties_set_prl_bytearray (MMCdmaManualActivationProperties *self
,GByteArray *prl
,GError **error
);
Sets the Preferred Roaming List.
self |
||
prl |
A GByteArray with the PRL to set. This method takes a new reference of |
|
error |
Return location for error or |
struct MMCdmaManualActivationProperties;
The MMCdmaManualActivationProperties structure contains private data and should only be accessed using the provided API.