Dela via


AudioFileInputNode.FileCompleted Event

Definition

Occurs when the playback position reaches the end of the audio file or the position specified with the EndTime property.

// Register
event_token FileCompleted(TypedEventHandler<AudioFileInputNode, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AudioFileInputNode::FileCompleted_revoker FileCompleted(auto_revoke_t, TypedEventHandler<AudioFileInputNode, IInspectable const&> const& handler) const;
public event TypedEventHandler<AudioFileInputNode,object> FileCompleted;
function onFileCompleted(eventArgs) { /* Your code */ }
audioFileInputNode.addEventListener("filecompleted", onFileCompleted);
audioFileInputNode.removeEventListener("filecompleted", onFileCompleted);
- or -
audioFileInputNode.onfilecompleted = onFileCompleted;
Public Custom Event FileCompleted As TypedEventHandler(Of AudioFileInputNode, Object) 

Event Type

Applies to