android.os
Class PowerManager.WakeLock

java.lang.Object
  extended by android.os.PowerManager.WakeLock
Enclosing class:
PowerManager

public class PowerManager.WakeLock
extends Object


Method Summary
 void acquire()
           
 void acquire(long timeout)
           
protected  void finalize()
           
 boolean isHeld()
           
 void release()
           
 void setReferenceCounted(boolean value)
           
 void setWorkSource(WorkSource ws)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setReferenceCounted

public void setReferenceCounted(boolean value)

acquire

public void acquire()

acquire

public void acquire(long timeout)

release

public void release()

isHeld

public boolean isHeld()

setWorkSource

public void setWorkSource(WorkSource ws)

toString

public String toString()
Overrides:
toString in class Object

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008-2012. All Rights Reserved.