TelephonyManager.SetPreferredNetworkTypeToGlobal Method

Definition

Set the preferred network type to global mode which includes LTE, CDMA, EvDo and GSM/WCDMA.

[Android.Runtime.Register("setPreferredNetworkTypeToGlobal", "()Z", "GetSetPreferredNetworkTypeToGlobalHandler", ApiSince=22)]
public virtual bool SetPreferredNetworkTypeToGlobal ();
[<Android.Runtime.Register("setPreferredNetworkTypeToGlobal", "()Z", "GetSetPreferredNetworkTypeToGlobalHandler", ApiSince=22)>]
abstract member SetPreferredNetworkTypeToGlobal : unit -> bool
override this.SetPreferredNetworkTypeToGlobal : unit -> bool

Returns

Boolean

true on success; false on any failure.

Attributes

Remarks

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

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