iface-modem-3gpp: add SubscriptionState property

This commit is contained in:
Thieu Le
2013-10-07 13:57:27 -07:00
committed by Aleksander Morgado
parent 564b3610fd
commit f9a4f87d52
13 changed files with 252 additions and 49 deletions

View File

@@ -771,6 +771,23 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_network_availability >*/
MM_MODEM_3GPP_NETWORK_AVAILABILITY_FORBIDDEN = 3,
} MMModem3gppNetworkAvailability;
/**
* MModem3gppSubscriptionState:
* @MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN: The subscription state is unknown.
* @MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNPROVISIONED: The account is unprovisioned.
* @MM_MODEM_3GPP_SUBSCRIPTION_STATE_PROVISIONED: The account is provisioned and has data available.
* @MM_MODEM_3GPP_SUBSCRIPTION_STATE_OUT_OF_DATA: The account is provisioned but there is no data left.
*
* Describes the current subscription status of the SIM. This value is only available after the
* modem attempts to register with the network.
*/
typedef enum { /*< underscore_name=mm_modem_3gpp_subscription_state >*/
MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN = 0,
MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNPROVISIONED = 1,
MM_MODEM_3GPP_SUBSCRIPTION_STATE_PROVISIONED = 2,
MM_MODEM_3GPP_SUBSCRIPTION_STATE_OUT_OF_DATA = 3,
} MMModem3gppSubscriptionState;
/**
* MMModem3gppUssdSessionState:
* @MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN: Unknown state.