NotesWindowManagerPreview.SystemLockStateChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
TypedEventHandler<NotesWindowManagerPreview,IInspectable>