public class WifiConfigurationUtil extends Object
WifiConfiguration
objects.Constructor and Description |
---|
WifiConfigurationUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isVisibleToAnyProfile(WifiConfiguration config,
List<UserInfo> profiles)
Check whether a network configuration is visible to a user or any of its managed profiles.
|
public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles)
config
- the network configuration whose visibility should be checkedprofiles
- the user IDs of the user itself and all its managed profiles (can be obtained
via android.os.UserManager.getProfiles
)