다음을 통해 공유


MediaSourceAudioInputNode.MediaSourceCompleted 이벤트

정의

재생 위치가 미디어 콘텐츠의 끝에 도달하거나 EndTime 속성으로 지정된 위치에 도달할 때 발생합니다.

// Register
event_token MediaSourceCompleted(TypedEventHandler<MediaSourceAudioInputNode, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
MediaSourceAudioInputNode::MediaSourceCompleted_revoker MediaSourceCompleted(auto_revoke_t, TypedEventHandler<MediaSourceAudioInputNode, IInspectable const&> const& handler) const;
public event TypedEventHandler<MediaSourceAudioInputNode,object> MediaSourceCompleted;
function onMediaSourceCompleted(eventArgs) { /* Your code */ }
mediaSourceAudioInputNode.addEventListener("mediasourcecompleted", onMediaSourceCompleted);
mediaSourceAudioInputNode.removeEventListener("mediasourcecompleted", onMediaSourceCompleted);
- or -
mediaSourceAudioInputNode.onmediasourcecompleted = onMediaSourceCompleted;
Public Custom Event MediaSourceCompleted As TypedEventHandler(Of MediaSourceAudioInputNode, Object) 

이벤트 유형

적용 대상