allowWifiLock property

bool allowWifiLock
final

Allows an application to keep the Wi-Fi radio awake. The default is false.

https://developer.android.com/reference/android/net/wifi/WifiManager.WifiLock.html

Implementation

final bool allowWifiLock;