public class KeyguardStateMonitor
extends IKeyguardStateCallback.Stub
Modifier and Type | Class and Description |
---|---|
static interface |
KeyguardStateMonitor.OnShowingStateChangedCallback |
Constructor and Description |
---|
KeyguardStateMonitor(Context context,
IKeyguardService service,
KeyguardStateMonitor.OnShowingStateChangedCallback showingStateChangedCallback) |
Modifier and Type | Method and Description |
---|---|
void |
dump(String prefix,
PrintWriter pw) |
boolean |
hasLockscreenWallpaper() |
boolean |
isInputRestricted() |
boolean |
isSecure(int userId) |
boolean |
isShowing() |
boolean |
isTrusted() |
void |
onHasLockscreenWallpaperChanged(boolean hasLockscreenWallpaper) |
void |
onInputRestrictedStateChanged(boolean inputRestricted) |
void |
onShowingStateChanged(boolean showing) |
void |
onSimSecureStateChanged(boolean simSecure) |
void |
onTrustedChanged(boolean trusted) |
void |
setCurrentUser(int userId) |
public KeyguardStateMonitor(Context context, IKeyguardService service, KeyguardStateMonitor.OnShowingStateChangedCallback showingStateChangedCallback)
public boolean isShowing()
public boolean isSecure(int userId)
public boolean isInputRestricted()
public boolean isTrusted()
public boolean hasLockscreenWallpaper()
public void onShowingStateChanged(boolean showing)
public void onSimSecureStateChanged(boolean simSecure)
public void setCurrentUser(int userId)
public void onInputRestrictedStateChanged(boolean inputRestricted)
public void onTrustedChanged(boolean trusted)
public void onHasLockscreenWallpaperChanged(boolean hasLockscreenWallpaper)
public void dump(String prefix, PrintWriter pw)