Language

SubscriptionPlan.Builder.Build Method

Definition

Returns a subscription plan with the builder's current settings.

[Android.Runtime.Register("build", "()Landroid/telephony/SubscriptionPlan;", "GetBuildHandler", ApiSince=28)]
public virtual Android.Telephony.SubscriptionPlan? Build();
[<Android.Runtime.Register("build", "()Landroid/telephony/SubscriptionPlan;", "GetBuildHandler", ApiSince=28)>]
abstract member Build : unit -> Android.Telephony.SubscriptionPlan
override this.Build : unit -> Android.Telephony.SubscriptionPlan

Returns

A subscription plan containing the configured cycle, labels, and data settings.

Attributes

Remarks

On Android 9 through Android 16, repeated calls return the same Java plan, and later changes to the builder affect that plan. Starting with Android 17, each call creates a new plan. This method does not publish the plan to the subscription service.

Applies to