NetworkCapabilities.NetCapabilityForeground 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.
Caution
This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.
Indicates that this network is available for use by apps, and not a network that is being kept up in the background to facilitate fast network switching.
[Android.Runtime.Register("NET_CAPABILITY_FOREGROUND", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)]
public const Android.Net.NetCapability NetCapabilityForeground = 19;
[<Android.Runtime.Register("NET_CAPABILITY_FOREGROUND", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.NetCapability enum directly instead of this field.", true)>]
val mutable NetCapabilityForeground : Android.Net.NetCapability
Field Value
Value = 19Implements
- Attributes
Remarks
Indicates that this network is available for use by apps, and not a network that is being kept up in the background to facilitate fast network switching.
Java documentation for android.net.NetworkCapabilities.NET_CAPABILITY_FOREGROUND
.
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.