public class UnlockMethodCache extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
UnlockMethodCache.OnUnlockMethodChangedListener |
Modifier and Type | Method and Description |
---|---|
void |
addListener(UnlockMethodCache.OnUnlockMethodChangedListener listener) |
boolean |
canSkipBouncer() |
static UnlockMethodCache |
getInstance(Context context) |
boolean |
isFaceUnlockRunning() |
boolean |
isMethodSecure() |
boolean |
isTrusted() |
boolean |
isTrustManaged() |
void |
removeListener(UnlockMethodCache.OnUnlockMethodChangedListener listener) |
public static UnlockMethodCache getInstance(Context context)
public boolean isMethodSecure()
public boolean isTrusted()
public boolean canSkipBouncer()
public void addListener(UnlockMethodCache.OnUnlockMethodChangedListener listener)
public void removeListener(UnlockMethodCache.OnUnlockMethodChangedListener listener)
public boolean isTrustManaged()
public boolean isFaceUnlockRunning()