SubscriptionPlan.Builder.SetTypes(Int32[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the types of this subscription plan.
[Android.Runtime.Register("setTypes", "([I)Landroid/telephony/SubscriptionPlan$Builder;", "GetSetTypes_arrayIHandler", ApiSince=37)]
public virtual Android.Telephony.SubscriptionPlan.Builder SetTypes(int[] types);
[<Android.Runtime.Register("setTypes", "([I)Landroid/telephony/SubscriptionPlan$Builder;", "GetSetTypes_arrayIHandler", ApiSince=37)>]
abstract member SetTypes : int[] -> Android.Telephony.SubscriptionPlan.Builder
override this.SetTypes : int[] -> Android.Telephony.SubscriptionPlan.Builder
Parameters
- types
- Int32[]
This value cannot be null. Value is one of the following: SubscriptionPlan.PLAN_TYPE_CELLULAR; SubscriptionPlan.PLAN_TYPE_SATELLITE; SubscriptionPlan.PLAN_TYPE_IOT; SubscriptionPlan.PLAN_TYPE_POSTPAID; SubscriptionPlan.PLAN_TYPE_PREPAID; SubscriptionPlan.PLAN_TYPE_DATA_ONLY; SubscriptionPlan.PLAN_TYPE_FAMILY; SubscriptionPlan.PLAN_TYPE_BUSINESS; SubscriptionPlan.PLAN_TYPE_ROAMING; SubscriptionPlan.PLAN_TYPE_TETHERING
Returns
An array containing the applicable PLAN_TYPE_ constants. This value cannot be null.
- Attributes
Remarks
Set the types of this subscription plan. A plan can have multiple types, and this method will return all that are applicable. For example, a plan could be both a cellular plan and a postpaid plan.
Android reference for android.telephony.SubscriptionPlan.Builder.setTypes.
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.