Bagikan melalui


MediaSourceAudioInputNode.MediaSourceCompleted Kejadian

Definisi

Terjadi ketika posisi pemutaran mencapai akhir konten media atau posisi yang ditentukan dengan properti 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) 

Jenis Acara

Berlaku untuk