次の方法で共有


NetworkCapabilities.NetCapabilityForeground Field

Definition

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 = 19

Implements

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.

Applies to