MediaSourceAudioInputNode.MediaSourceCompleted Événement

Définition

Se produit lorsque la position de lecture atteint la fin du contenu multimédia ou la position spécifiée avec la propriété 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) 

Type d'événement

S’applique à