FileDocCategorySizeDatePackage
IKeyguardService.javaAPI DocAndroid 5.1 API14731Sat Mar 14 05:48:08 GMT 2015com.android.internal.policy

IKeyguardService

public interface IKeyguardService implements android.os.IInterface

Fields Summary
Constructors Summary
Methods Summary
public voidaddStateMonitorCallback(com.android.internal.policy.IKeyguardStateCallback callback)

public voiddismiss()

public voiddoKeyguardTimeout(android.os.Bundle options)

public voidkeyguardDone(boolean authenticated, boolean wakeup)

public voidonActivityDrawn()
Notifies the Keyguard that the activity that was starting has now been drawn and it's safe to start the keyguard dismiss sequence.

public voidonBootCompleted()

public voidonDreamingStarted()

public voidonDreamingStopped()

public voidonScreenTurnedOff(int reason)

public voidonScreenTurnedOn(com.android.internal.policy.IKeyguardShowCallback callback)

public voidonSystemReady()

public voidsetCurrentUser(int userId)

public voidsetKeyguardEnabled(boolean enabled)

public voidsetOccluded(boolean isOccluded)
Sets the Keyguard as occluded when a window dismisses the Keyguard with flag FLAG_SHOW_ON_LOCK_SCREEN.

param
isOccluded Whether the Keyguard is occluded by another window.

public voidstartKeyguardExitAnimation(long startTime, long fadeoutDuration)
Notifies that the activity behind has now been drawn and it's safe to remove the wallpaper and keyguard flag.

param
startTime the start time of the animation in uptime milliseconds
param
fadeoutDuration the duration of the exit animation, in milliseconds

public voidverifyUnlock(com.android.internal.policy.IKeyguardExitCallback callback)