ConnectivityManager.IsDefaultNetworkActive 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.
Return whether the data network is currently active.
public virtual bool IsDefaultNetworkActive { [Android.Runtime.Register("isDefaultNetworkActive", "()Z", "GetIsDefaultNetworkActiveHandler")] get; }
[<get: Android.Runtime.Register("isDefaultNetworkActive", "()Z", "GetIsDefaultNetworkActiveHandler")>]
member this.IsDefaultNetworkActive : bool
Property Value
- Attributes
Remarks
Return whether the data network is currently active. An active network means that it is currently in a high power state for performing data transmission. On some types of networks, it may be expensive to move and stay in such a state, so it is more power efficient to batch network traffic together when the radio is already in this state. This method tells you whether right now is currently a good time to initiate network traffic, as the network is already active.
Java documentation for android.net.ConnectivityManager.isDefaultNetworkActive()
.
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.