@Implements(value=android.os.PowerManager.WakeLock.class) public static class ShadowPowerManager.ShadowWakeLock extends Object
| Constructor and Description |
|---|
ShadowWakeLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire() |
void |
acquire(long timeout) |
boolean |
isHeld() |
boolean |
isReferenceCounted()
Non-Android accessor retrieves if the wake lock is reference counted or not
|
void |
release() |
void |
setReferenceCounted(boolean value) |
@Implementation public void acquire()
@Implementation public void acquire(long timeout)
@Implementation public void release()
@Implementation public boolean isHeld()
public boolean isReferenceCounted()
@Implementation public void setReferenceCounted(boolean value)
Copyright © 2015. All rights reserved.