Share via


NotesWindowManagerPreview.SystemLockStateChanged Event

Definition

Indicates that the device's screen lock state has changed.

// Register
event_token SystemLockStateChanged(TypedEventHandler<NotesWindowManagerPreview, IInspectable const&> const& handler) const;

// Revoke with event_token
void SystemLockStateChanged(event_token const* cookie) const;

// Revoke with event_revoker
NotesWindowManagerPreview::SystemLockStateChanged_revoker SystemLockStateChanged(auto_revoke_t, TypedEventHandler<NotesWindowManagerPreview, IInspectable const&> const& handler) const;
public event TypedEventHandler<NotesWindowManagerPreview,object> SystemLockStateChanged;
function onSystemLockStateChanged(eventArgs) { /* Your code */ }
notesWindowManagerPreview.addEventListener("systemlockstatechanged", onSystemLockStateChanged);
notesWindowManagerPreview.removeEventListener("systemlockstatechanged", onSystemLockStateChanged);
- or -
notesWindowManagerPreview.onsystemlockstatechanged = onSystemLockStateChanged;
Public Custom Event SystemLockStateChanged As TypedEventHandler(Of NotesWindowManagerPreview, Object) 

Event Type

Applies to