-
public class DozeDetectorUtility class for detecting when an Android device enters and leaves various Doze modes April 02, 2019 (c) 2019 David G. Young Apache 2 License
-
-
Method Summary
Modifier and Type Method Description booleanisInDozeMode(Context context)booleanisInLightDozeMode(Context context)booleanisInFullDozeMode(Context context)voidregisterDozeCallbacks(Context context, BroadcastReceiver receiver)StringgetLightIdleModeChangeAction()-
-
Method Detail
-
isInDozeMode
boolean isInDozeMode(Context context)
-
isInLightDozeMode
boolean isInLightDozeMode(Context context)
-
isInFullDozeMode
boolean isInFullDozeMode(Context context)
-
registerDozeCallbacks
void registerDozeCallbacks(Context context, BroadcastReceiver receiver)
-
getLightIdleModeChangeAction
String getLightIdleModeChangeAction()
-
-
-
-