android.os
Class PowerManager
java.lang.Object
android.os.PowerManager
public class PowerManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARTIAL_WAKE_LOCK
public static final int PARTIAL_WAKE_LOCK
- See Also:
- Constant Field Values
FULL_WAKE_LOCK
public static final int FULL_WAKE_LOCK
- See Also:
- Constant Field Values
SCREEN_BRIGHT_WAKE_LOCK
public static final int SCREEN_BRIGHT_WAKE_LOCK
- See Also:
- Constant Field Values
SCREEN_DIM_WAKE_LOCK
public static final int SCREEN_DIM_WAKE_LOCK
- See Also:
- Constant Field Values
ACQUIRE_CAUSES_WAKEUP
public static final int ACQUIRE_CAUSES_WAKEUP
- See Also:
- Constant Field Values
ON_AFTER_RELEASE
public static final int ON_AFTER_RELEASE
- See Also:
- Constant Field Values
newWakeLock
public PowerManager.WakeLock newWakeLock(int flags,
String tag)
userActivity
public void userActivity(long when,
boolean noChangeLights)
goToSleep
public void goToSleep(long time)
isScreenOn
public boolean isScreenOn()
reboot
public void reboot(String reason)
Copyright © 2008-2012. All Rights Reserved.