Freigeben über


MediaSourceAudioInputNode.MediaSourceCompleted Ereignis

Definition

Tritt auf, wenn die Wiedergabeposition das Ende des Medieninhalts oder die mit der EndTime-Eigenschaft angegebene Position erreicht.

// 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) 

Ereignistyp

Gilt für: