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]
Since: 1.2
const gchar *
mm_cdma_manual_activation_properties_get_spc
(MMCdmaManualActivationProperties *self
);
Gets the Service Programming Code.
Since: 1.2
gboolean mm_cdma_manual_activation_properties_set_spc (MMCdmaManualActivationProperties *self
,const gchar *spc
,GError **error
);
Sets the Service Programming Code.
Since: 1.2
guint16
mm_cdma_manual_activation_properties_get_sid
(MMCdmaManualActivationProperties *self
);
Gets the System Identification Number.
Since: 1.2
void mm_cdma_manual_activation_properties_set_sid (MMCdmaManualActivationProperties *self
,guint16 sid
);
Sets the Service Identification Number.
Since: 1.2
const gchar *
mm_cdma_manual_activation_properties_get_mdn
(MMCdmaManualActivationProperties *self
);
Gets the Mobile Directory Number.
Since: 1.2
gboolean mm_cdma_manual_activation_properties_set_mdn (MMCdmaManualActivationProperties *self
,const gchar *mdn
,GError **error
);
Sets the Mobile Directory Number.
Since: 1.2
const gchar *
mm_cdma_manual_activation_properties_get_min
(MMCdmaManualActivationProperties *self
);
Gets the Mobile Indentification Number.
Since: 1.2
gboolean mm_cdma_manual_activation_properties_set_min (MMCdmaManualActivationProperties *self
,const gchar *min
,GError **error
);
Sets the Mobile Identification Number.
Since: 1.2
const gchar *
mm_cdma_manual_activation_properties_get_mn_ha_key
(MMCdmaManualActivationProperties *self
);
Gets the MN-HA key.
Since: 1.2
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 |
Since: 1.2
const gchar *
mm_cdma_manual_activation_properties_get_mn_aaa_key
(MMCdmaManualActivationProperties *self
);
Gets the MN-AAA key.
Since: 1.2
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 |
Since: 1.2
const guint8 * mm_cdma_manual_activation_properties_get_prl (MMCdmaManualActivationProperties *self
,gsize *prl_len
);
Gets the Preferred Roaming List.
Since: 1.2
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]
Since: 1.2
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]
Since: 1.2
gboolean mm_cdma_manual_activation_properties_set_prl (MMCdmaManualActivationProperties *self
,const guint8 *prl
,gsize prl_length
,GError **error
);
Sets the Preferred Roaming List.
Since: 1.2
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 |
Since: 1.2
struct MMCdmaManualActivationProperties;
The MMCdmaManualActivationProperties structure contains private data and should only be accessed using the provided API.