Udostępnij za pośrednictwem


AvailableNetworkInfo.Priority Property

Definition

Return priority for the subscription id.

public Android.Telephony.AvailableNetworkInfoPriority Priority { [Android.Runtime.Register("getPriority", "()I", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getPriority", "()I", "", ApiSince=29)>]
member this.Priority : Android.Telephony.AvailableNetworkInfoPriority

Property Value

priority level

Attributes

Remarks

Return priority for the subscription id. Priorities are in the range of AvailableNetworkInfo#PRIORITY_LOW to AvailableNetworkInfo#PRIORITY_HIGH Among all networks available after network scan, subId with highest priority is chosen for network selection. If there are more than one subId with highest priority then the network with highest RSRP is chosen.

Java documentation for android.telephony.AvailableNetworkInfo.getPriority().

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