Język

SubscriptionStatus Enum

Definition

public enum SubscriptionStatus
type SubscriptionStatus = 
Inheritance
SubscriptionStatus

Fields

Name Value Description
Unknown 0

The subscription status is unknown. This is the default value, used when the carrier is unable to provide the current status of the subscription.

Android reference for android.telephony.SubscriptionPlan.SUBSCRIPTION_STATUS_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Active 1

The subscription is active. This indicates that the subscription is in good standing and all services are available to the user.

Android reference for android.telephony.SubscriptionPlan.SUBSCRIPTION_STATUS_ACTIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Inactive 2

The subscription is inactive. This status means the subscription is not currently in service. This could be because it has been canceled, has expired, or has not yet been activated.

Android reference for android.telephony.SubscriptionPlan.SUBSCRIPTION_STATUS_INACTIVE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Trial 3

The subscription is in a trial period. This indicates that the user is on a promotional or trial plan, which may have different features or limitations than a standard subscription. After the trial period ends, the status will typically change to active or inactive.

Android reference for android.telephony.SubscriptionPlan.SUBSCRIPTION_STATUS_TRIAL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Suspended 4

The subscription is suspended. A suspended subscription has been temporarily disabled. This can occur due to billing issues, a user's request, or a violation of the carrier's terms of service. Services are unavailable, but the subscription can typically be reactivated.

Android reference for android.telephony.SubscriptionPlan.SUBSCRIPTION_STATUS_SUSPENDED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to