SubscriptionPlan.Builder.SetId(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.
Sets the unique integer identifier for this subscription plan.
[Android.Runtime.Register("setId", "(I)Landroid/telephony/SubscriptionPlan$Builder;", "GetSetId_IHandler", ApiSince=37)]
public virtual Android.Telephony.SubscriptionPlan.Builder SetId(int id);
[<Android.Runtime.Register("setId", "(I)Landroid/telephony/SubscriptionPlan$Builder;", "GetSetId_IHandler", ApiSince=37)>]
abstract member SetId : int -> Android.Telephony.SubscriptionPlan.Builder
override this.SetId : int -> Android.Telephony.SubscriptionPlan.Builder
Parameters
- id
- Int32
The unique integer integer identifier for the plan, or SubscriptionPlan.UNSPECIFIED_ID to clear it.
Returns
The same Builder instance to continue building the plan. This value cannot be null.
- Attributes
Remarks
Sets the unique integer identifier for this subscription plan.
This ID is provided by the carrier and can be used to uniquely identify this plan, particularly when interacting with entitlement server for enrolling.
Android reference for android.telephony.SubscriptionPlan.Builder.setId.
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.