ConnectivityManager.ProcessDefaultNetwork 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 the Network currently bound to this process via
#bindProcessToNetwork, or null if no Network is explicitly bound.
public static Android.Net.Network? ProcessDefaultNetwork { [Android.Runtime.Register("getProcessDefaultNetwork", "()Landroid/net/Network;", "")] get; }
[<get: Android.Runtime.Register("getProcessDefaultNetwork", "()Landroid/net/Network;", "")>]
static member ProcessDefaultNetwork : Android.Net.Network
Property Value
Network to which this process is bound, or null.
- Attributes
Remarks
Returns the Network currently bound to this process via #bindProcessToNetwork, or null if no Network is explicitly bound.
This member is deprecated. Using this function can lead to other functions throwing IllegalStateException. Use #getBoundNetworkForProcess instead. getBoundNetworkForProcess is a direct replacement.
Java documentation for android.net.ConnectivityManager.getProcessDefaultNetwork().
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.