public interface ViewMediatorCallback
KeyguardViewMediator
various things.Modifier and Type | Method and Description |
---|---|
int |
getBouncerPromptReason() |
boolean |
isInputRestricted() |
boolean |
isScreenOn() |
void |
keyguardDone(boolean strongAuth)
Report that the keyguard is done.
|
void |
keyguardDoneDrawing()
Report that the keyguard is done drawing.
|
void |
keyguardDonePending(boolean strongAuth)
Report that the keyguard is dismissable, pending the next keyguardDone call.
|
void |
keyguardGone()
Report when keyguard is actually gone
|
void |
playTrustedSound()
Play the "device trusted" sound.
|
void |
readyForKeyguardDone()
Report when the UI is ready for dismissing the whole Keyguard.
|
void |
resetKeyguard()
Reset the keyguard and bouncer.
|
void |
setNeedsInput(boolean needsInput)
Tell ViewMediator that the current view needs IME input
|
void |
userActivity()
Reports user activity and requests that the screen stay on.
|
void userActivity()
void keyguardDone(boolean strongAuth)
strongAuth
- whether the user has authenticated with strong authentication like
pattern, password or PIN but not by trust agents or fingerprintvoid keyguardDoneDrawing()
void setNeedsInput(boolean needsInput)
needsInput
- void keyguardDonePending(boolean strongAuth)
strongAuth
- whether the user has authenticated with strong authentication like
pattern, password or PIN but not by trust agents or fingerprintvoid keyguardGone()
void readyForKeyguardDone()
void resetKeyguard()
void playTrustedSound()
boolean isInputRestricted()
boolean isScreenOn()
int getBouncerPromptReason()
KeyguardSecurityView.PROMPT_REASON_NONE
,
KeyguardSecurityView.PROMPT_REASON_RESTART
and
KeyguardSecurityView.PROMPT_REASON_TIMEOUT
.