TelephonyManager.DataNetworkType Property
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.
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
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.