diff options
author | Thieu Le <thieule@chromium.org> | 2013-10-07 13:57:27 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-10-09 09:59:42 +0200 |
commit | f9a4f87d5204432b52cb41b31809d43425467da5 (patch) | |
tree | b8ae31d2b84d80e376e80942ae7ca7f116dccece /include | |
parent | 564b3610fd6e4060bc36c2cf568b2305aaf6ea19 (diff) |
iface-modem-3gpp: add SubscriptionState property
Diffstat (limited to 'include')
-rw-r--r-- | include/ModemManager-enums.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 8fb0b088..a71b82eb 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -772,6 +772,23 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_network_availability >*/ } 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. * @MM_MODEM_3GPP_USSD_SESSION_STATE_IDLE: No active session. |