Language

AvailableNetworkInfo.Builder.SetPriority(Int32) Method

Definition

Sets the priority for the subscription id.

[Android.Runtime.Register("setPriority", "(I)Landroid/telephony/AvailableNetworkInfo$Builder;", "", ApiSince=33)]
public Android.Telephony.AvailableNetworkInfo.Builder SetPriority(int priority);
[<Android.Runtime.Register("setPriority", "(I)Landroid/telephony/AvailableNetworkInfo$Builder;", "", ApiSince=33)>]
member this.SetPriority : int -> Android.Telephony.AvailableNetworkInfo.Builder

Parameters

priority
Int32

of the subscription id. See AvailableNetworkInfo.getPriority for more details. Value is one of the following: AvailableNetworkInfo.PRIORITY_HIGH AvailableNetworkInfo.PRIORITY_MED AvailableNetworkInfo.PRIORITY_LOW

Returns

the original Builder object. This value cannot be null.

Attributes

Remarks

Sets the priority for the subscription id.

Android reference for android.telephony.AvailableNetworkInfo.Builder.setPriority.

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