FocusSessionManager.IsFocusActiveChanged 이벤트

정의

디바이스의 포커스 세션 상태 변경될 때 발생합니다.

// Register
event_token IsFocusActiveChanged(TypedEventHandler<FocusSessionManager, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
FocusSessionManager::IsFocusActiveChanged_revoker IsFocusActiveChanged(auto_revoke_t, TypedEventHandler<FocusSessionManager, IInspectable const&> const& handler) const;
public event TypedEventHandler<FocusSessionManager,object> IsFocusActiveChanged;
function onIsFocusActiveChanged(eventArgs) { /* Your code */ }
focusSessionManager.addEventListener("isfocusactivechanged", onIsFocusActiveChanged);
focusSessionManager.removeEventListener("isfocusactivechanged", onIsFocusActiveChanged);
- or -
focusSessionManager.onisfocusactivechanged = onIsFocusActiveChanged;
Public Custom Event IsFocusActiveChanged As TypedEventHandler(Of FocusSessionManager, Object) 

이벤트 유형

적용 대상