PreciseDataConnectionState.NetworkType 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.
Get the network type associated with this data connection.
public int NetworkType { [Android.Runtime.Register("getNetworkType", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getNetworkType", "()I", "", ApiSince=30)>]
member this.NetworkType : int
Property Value
The current/latest (radio) bearer technology that carries this data connection. For a variety of reasons, the network type can change during the life of the data connection, and this information is not reliable unless the physical link is currently active; (there is currently no mechanism to know whether the physical link is active at any given moment). Thus, this value is generally correct but may not be relied-upon to represent the status of the radio bearer at any given moment.
- Attributes
Remarks
Get the network type associated with this data connection.
Java documentation for android.telephony.PreciseDataConnectionState.getNetworkType()
.
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.