FileDocCategorySizeDatePackage
KeyguardMonitor.javaAPI DocAndroid 5.1 API1555Thu Mar 12 22:22:42 GMT 2015com.android.systemui.statusbar.policy

KeyguardMonitor

public final class KeyguardMonitor extends Object

Fields Summary
private final ArrayList
mCallbacks
private boolean
mShowing
private boolean
mSecure
Constructors Summary
Methods Summary
public voidaddCallback(com.android.systemui.statusbar.policy.KeyguardMonitor$Callback callback)


        
        mCallbacks.add(callback);
    
public booleanisSecure()

        return mSecure;
    
public booleanisShowing()

        return mShowing;
    
public voidnotifyKeyguardState(boolean showing, boolean secure)

        if (mShowing == showing && mSecure == secure) return;
        mShowing = showing;
        mSecure = secure;
        for (Callback callback : mCallbacks) {
            callback.onKeyguardChanged();
        }
    
public voidremoveCallback(com.android.systemui.statusbar.policy.KeyguardMonitor$Callback callback)

        mCallbacks.remove(callback);