AudioFrameInputNode.AudioFrameCompleted Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
// Register
event_token AudioFrameCompleted(TypedEventHandler<AudioFrameInputNode, AudioFrameCompletedEventArgs const&> const& handler) const;
// Revoke with event_token
void AudioFrameCompleted(event_token const* cookie) const;
// Revoke with event_revoker
AudioFrameInputNode::AudioFrameCompleted_revoker AudioFrameCompleted(auto_revoke_t, TypedEventHandler<AudioFrameInputNode, AudioFrameCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<AudioFrameInputNode,AudioFrameCompletedEventArgs> AudioFrameCompleted;
function onAudioFrameCompleted(eventArgs) { /* Your code */ }
audioFrameInputNode.addEventListener("audioframecompleted", onAudioFrameCompleted);
audioFrameInputNode.removeEventListener("audioframecompleted", onAudioFrameCompleted);
- or -
audioFrameInputNode.onaudioframecompleted = onAudioFrameCompleted;
Public Custom Event AudioFrameCompleted As TypedEventHandler(Of AudioFrameInputNode, AudioFrameCompletedEventArgs)