Udostępnij za pośrednictwem


KeyguardManager.IKeyguardLockedStateListener.OnKeyguardLockedStateChanged Method

Definition

Callback function that executes when the keyguard locked state changes.

[Android.Runtime.Register("onKeyguardLockedStateChanged", "(Z)V", "GetOnKeyguardLockedStateChanged_ZHandler:Android.App.KeyguardManager/IKeyguardLockedStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void OnKeyguardLockedStateChanged (bool isKeyguardLocked);
[<Android.Runtime.Register("onKeyguardLockedStateChanged", "(Z)V", "GetOnKeyguardLockedStateChanged_ZHandler:Android.App.KeyguardManager/IKeyguardLockedStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnKeyguardLockedStateChanged : bool -> unit

Parameters

isKeyguardLocked
Boolean
Attributes

Remarks

Callback function that executes when the keyguard locked state changes.

Java documentation for android.app.KeyguardManager.KeyguardLockedStateListener.onKeyguardLockedStateChanged(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to