Condividi tramite


TelephonyManager.NetworkSelectionMode Property

Definition

Get the network selection mode.

public virtual int NetworkSelectionMode { [Android.Runtime.Register("getNetworkSelectionMode", "()I", "GetGetNetworkSelectionModeHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getNetworkSelectionMode", "()I", "GetGetNetworkSelectionModeHandler", ApiSince=30)>]
member this.NetworkSelectionMode : int

Property Value

the network selection mode.

Attributes

Remarks

Get the network selection mode.

If this object has been created with #createForSubscriptionId, applies to the given subId. Otherwise, applies to SubscriptionManager#getDefaultSubscriptionId()

Requires Permission: android.Manifest.permission#READ_PRECISE_PHONE_STATE READ_PRECISE_PHONE_STATE or that the calling app has carrier privileges (see #hasCarrierPrivileges).

Java documentation for android.telephony.TelephonyManager.getNetworkSelectionMode().

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