다음을 통해 공유


NotesWindowManagerPreview.SystemLockStateChanged 이벤트

정의

디바이스의 화면 잠금 상태가 변경되었음을 나타냅니다.

// 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) 

이벤트 유형

적용 대상