다음을 통해 공유


MediaPlaybackSession.NaturalVideoSizeChanged 이벤트

정의

현재 재생 중인 미디어 항목의 비디오 크기가 변경되면 발생합니다.

// Register
event_token NaturalVideoSizeChanged(TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaPlaybackSession::NaturalVideoSizeChanged_revoker NaturalVideoSizeChanged(auto_revoke_t, TypedEventHandler<MediaPlaybackSession, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaPlaybackSession,object> NaturalVideoSizeChanged;
function onNaturalVideoSizeChanged(eventArgs) { /* Your code */ }
mediaPlaybackSession.addEventListener("naturalvideosizechanged", onNaturalVideoSizeChanged);
mediaPlaybackSession.removeEventListener("naturalvideosizechanged", onNaturalVideoSizeChanged);
- or -
mediaPlaybackSession.onnaturalvideosizechanged = onNaturalVideoSizeChanged;
Public Custom Event NaturalVideoSizeChanged As TypedEventHandler(Of MediaPlaybackSession, Object) 

이벤트 유형

적용 대상