TelephonyManager.SetNetworkSelectionModeAutomatic Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the network selection mode to automatic.
[Android.Runtime.Register("setNetworkSelectionModeAutomatic", "()V", "GetSetNetworkSelectionModeAutomaticHandler", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void SetNetworkSelectionModeAutomatic ();
[<Android.Runtime.Register("setNetworkSelectionModeAutomatic", "()V", "GetSetNetworkSelectionModeAutomaticHandler", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member SetNetworkSelectionModeAutomatic : unit -> unit
override this.SetNetworkSelectionModeAutomatic : unit -> unit
- Attributes
Remarks
Sets the network selection mode to automatic.
If this object has been created with #createForSubscriptionId
, applies to the given subId. Otherwise, applies to SubscriptionManager#getDefaultSubscriptionId()
Requires Permission: android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE
or that the calling app has carrier privileges (see #hasCarrierPrivileges
).
Java documentation for android.telephony.TelephonyManager.setNetworkSelectionModeAutomatic()
.
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.