android.os
Class PowerManager
java.lang.Object
android.os.PowerManager
public class PowerManager
- extends java.lang.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,
java.lang.String tag)
userActivity
public void userActivity(long when,
boolean noChangeLights)
goToSleep
public void goToSleep(long time)
isScreenOn
public boolean isScreenOn()
Copyright © 2008-2010. All Rights Reserved.