AudioFileInputNode.FileCompleted 事件

定义

当播放位置到达音频文件的末尾或使用 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) 

事件类型

适用于