ConnectivityManager.ExtraNetwork Field
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.
The lookup key for a Network
object included with the intent after
successfully finding a network for the applications request.
[Android.Runtime.Register("EXTRA_NETWORK", ApiSince=22)]
public const string ExtraNetwork;
[<Android.Runtime.Register("EXTRA_NETWORK", ApiSince=22)>]
val mutable ExtraNetwork : string
Field Value
- Attributes
Remarks
The lookup key for a Network
object included with the intent after successfully finding a network for the applications request. Retrieve it with android.content.Intent#getParcelableExtra(String)
.
Note that if you intend to invoke Network#openConnection(java.net.URL)
then you must get a ConnectivityManager instance before doing so.
Java documentation for android.net.ConnectivityManager.EXTRA_NETWORK
.
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.