다음을 통해 공유


MediaPlaybackSession.PositionChanged 이벤트

정의

현재 재생 중인 미디어 내의 현재 재생 위치가 변경되면 발생합니다.

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

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

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

이벤트 유형

적용 대상