Language

SubscriptionPlan.Id Property

Definition

Returns the unique integer identifier for this subscription plan.

public int Id { [Android.Runtime.Register("getId", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getId", "()I", "", ApiSince=37)>]
member this.Id : int

Property Value

The unique integer identifier for the plan, or #UNSPECIFIED_ID if not specified.

Attributes

Remarks

Returns 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.

It may be UNSPECIFIED_ID if no ID is specified.

Android reference for android.telephony.SubscriptionPlan.getId.

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