TelephonyManager.DataNetworkType Property

Definition

Returns a constant indicating the radio technology (network type) currently in use on the device for data transmission.

public virtual Android.Telephony.NetworkType DataNetworkType { [Android.Runtime.Register("getDataNetworkType", "()I", "GetGetDataNetworkTypeHandler", ApiSince=24)] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("getDataNetworkType", "()I", "GetGetDataNetworkTypeHandler", ApiSince=24)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.DataNetworkType : Android.Telephony.NetworkType

Property Value

NetworkType

the network type

Attributes

Remarks

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

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