Partager via


SubscriptionManager.ActionRefreshSubscriptionPlans Field

Definition

Broadcast Action: Request a refresh of the billing relationship plans between a carrier and a specific subscriber.

[Android.Runtime.Register("ACTION_REFRESH_SUBSCRIPTION_PLANS", ApiSince=28)]
public const string ActionRefreshSubscriptionPlans;
[<Android.Runtime.Register("ACTION_REFRESH_SUBSCRIPTION_PLANS", ApiSince=28)>]
val mutable ActionRefreshSubscriptionPlans : string

Field Value

Attributes

Remarks

Broadcast Action: Request a refresh of the billing relationship plans between a carrier and a specific subscriber.

Carrier apps are encouraged to implement this receiver, and the OS will provide an affordance to request a refresh. This affordance will only be shown when the carrier app is actively providing subscription plan information via #setSubscriptionPlans(int, List).

Contains #EXTRA_SUBSCRIPTION_INDEX to indicate which subscription the user is interested in.

Receivers should protect themselves by checking that the sender holds the android.permission.MANAGE_SUBSCRIPTION_PLANS permission.

Java documentation for android.telephony.SubscriptionManager.ACTION_REFRESH_SUBSCRIPTION_PLANS.

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