Compartilhar via


AudioFileInputNode.FileCompleted Evento

Definição

Ocorre quando a posição de reprodução atinge o final do arquivo de áudio ou a posição especificada com a propriedade EndTime .

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

Tipo de evento

Aplica-se a