다음을 통해 공유


MediaPlaybackCommandManagerCommandBehavior.IsEnabledChanged 이벤트

정의

시스템 미디어 전송 컨트롤 명령의 사용 상태가 변경될 때 발생합니다.

// Register
event_token IsEnabledChanged(TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaPlaybackCommandManagerCommandBehavior::IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackCommandManagerCommandBehavior,object> IsEnabledChanged;
function onIsEnabledChanged(eventArgs) { /* Your code */ }
mediaPlaybackCommandManagerCommandBehavior.addEventListener("isenabledchanged", onIsEnabledChanged);
mediaPlaybackCommandManagerCommandBehavior.removeEventListener("isenabledchanged", onIsEnabledChanged);
- or -
mediaPlaybackCommandManagerCommandBehavior.onisenabledchanged = onIsEnabledChanged;
Public Custom Event IsEnabledChanged As TypedEventHandler(Of MediaPlaybackCommandManagerCommandBehavior, Object) 

이벤트 유형

적용 대상