共用方式為


WifiManager.ActionRemoveSuggestionLinger Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Wifi.ActionRemoveSuggestionType enum directly instead of this field.

If one of the removed suggestions is currently connected, that network will be disconnected after a short delay as opposed to immediately (which will be done by #ACTION_REMOVE_SUGGESTION_DISCONNECT).

[Android.Runtime.Register("ACTION_REMOVE_SUGGESTION_LINGER", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.ActionRemoveSuggestionType enum directly instead of this field.", true)]
public const Android.Net.Wifi.ActionRemoveSuggestionType ActionRemoveSuggestionLinger = 1;
[<Android.Runtime.Register("ACTION_REMOVE_SUGGESTION_LINGER", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.ActionRemoveSuggestionType enum directly instead of this field.", true)>]
val mutable ActionRemoveSuggestionLinger : Android.Net.Wifi.ActionRemoveSuggestionType

Field Value

Value = 1
Attributes

Remarks

If one of the removed suggestions is currently connected, that network will be disconnected after a short delay as opposed to immediately (which will be done by #ACTION_REMOVE_SUGGESTION_DISCONNECT). The ConnectivityManager may call the NetworkCallback#onLosing(Network, int) on such networks.

Java documentation for android.net.wifi.WifiManager.ACTION_REMOVE_SUGGESTION_LINGER.

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