Methods Summary |
---|
public void | onBootCompleted()Called when boot completed.
Note, this callback will only be received if boot complete occurs after registering with
KeyguardUpdateMonitor.
|
public void | onClockVisibilityChanged()Called when visibility of lockscreen clock changes, such as when
obscured by a widget.
|
public void | onDevicePolicyManagerStateChanged()Called when the device policy changes.
See {@link DevicePolicyManager#ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED}
|
public void | onDeviceProvisioned()Called when the device becomes provisioned
|
public void | onEmergencyCallAction()Called when the emergency call button is pressed.
|
public void | onFaceUnlockStateChanged(boolean running, int userId)Called when the state of face unlock changed.
|
public void | onFingerprintAcquired(int info)Called when fingerprint is acquired but not yet recognized
|
public void | onFingerprintRecognized(int userId)Called when a fingerprint is recognized.
|
public void | onKeyguardBouncerChanged(boolean bouncer)Called when the keyguard enters or leaves bouncer mode.
|
public void | onKeyguardVisibilityChanged(boolean showing)Called when the visibility of the keyguard changes.
|
public void | onKeyguardVisibilityChangedRaw(boolean showing)
final long now = SystemClock.elapsedRealtime();
if (showing == mShowing
&& (now - mVisibilityChangedCalled) < VISIBILITY_CHANGED_COLLAPSE_MS) return;
onKeyguardVisibilityChanged(showing);
mVisibilityChangedCalled = now;
mShowing = showing;
|
public void | onPhoneStateChanged(int phoneState)Called when the phone state changes. String will be one of:
{@link TelephonyManager#EXTRA_STATE_IDLE}
{@link TelephonyManager@EXTRA_STATE_RINGING}
{@link TelephonyManager#EXTRA_STATE_OFFHOOK
|
public void | onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status)Called when the battery status changes, e.g. when plugged in or unplugged, charge
level, etc. changes.
|
public void | onRefreshCarrierInfo()Called when the carrier PLMN or SPN changes.
|
public void | onRingerModeChanged(int state)Called when the ringer mode changes.
|
public void | onScreenTurnedOff(int why)Called when the screen turns off
|
public void | onScreenTurnedOn()Called when the screen turns on
|
public void | onSetBackground(android.graphics.Bitmap bitmap)Called when the transport background changes.
|
public void | onSimStateChanged(int subId, int slotId, IccCardConstants.State simState)Called when the SIM state changes.
|
public void | onTimeChanged()Called once per minute or when the time changes.
|
public void | onTrustChanged(int userId)Called when trust changes for a user.
|
public void | onTrustInitiatedByUser(int userId)Called when the user has proved to a trust agent that they want to use the device.
|
public void | onTrustManagedChanged(int userId)Called when trust being managed changes for a user.
|
public void | onUserInfoChanged(int userId)Called when the user's info changed.
|
public void | onUserRemoved(int userId)Called when a user is removed.
|
public void | onUserSwitchComplete(int userId)Called when the user change is complete.
|
public void | onUserSwitching(int userId)Called when the user change begins.
|