다음을 통해 공유


WifiNetworkSuggestion.RandomizationNonPersistent Field

Definition

Caution

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

With this option, the randomized MAC address will periodically get re-randomized, and the randomized MAC address will change if the suggestion is removed and then added back.

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

Field Value

Value = 1

Implements

Attributes

Remarks

With this option, the randomized MAC address will periodically get re-randomized, and the randomized MAC address will change if the suggestion is removed and then added back.

Java documentation for android.net.wifi.WifiNetworkSuggestion.RANDOMIZATION_NON_PERSISTENT.

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