- lockType
- the type of lock to create. See WifiManager.WIFI_MODE_FULL, WifiManager.WIFI_MODE_FULL_HIGH_PERF and WifiManager.WIFI_MODE_SCAN_ONLY for descriptions of the types of Wi-Fi locks.
- tag
- a tag for the WifiLock to identify it in debugging messages. This string is never shown to the user under normal conditions, but should be descriptive enough to identify your application and the specific WifiLock within it, if it holds multiple WifiLocks.
Documentation for this section has not yet been entered.
Creates a new WifiLock.