WifiConfigurationRandomization Enum

Definition

Specifies the MAC address randomization strategy for connections to a Wi-Fi network.

public enum WifiConfigurationRandomization
type WifiConfigurationRandomization = 
Inheritance
WifiConfigurationRandomization

Fields

Name Value Description
None 0

Uses the factory MAC address when connecting to the network.

Persistent 1

Generates a randomized MAC address once and reuses it for connections to the network.

NonPersistent 2

Uses a generated MAC address for connections without persisting that address.

Auto 3

Lets the Wi-Fi framework select the MAC address randomization strategy.

Remarks

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