AudioRecorder
AudioRecorder records audio streams in-experience with a fixed time limit of 60 seconds. The results can be loaded into an AudioPlayer for playback.
At this time, AudioDeviceInput cannot be recorded. The GetUnrecordableInstancesAsync() method can be used to check specifically which instances aren't recordable.
Summary
Properties
Methods
Events
Properties
Methods
Clear
Clears out the recording from the AudioRecorder.
Returns
GetTemporaryContent
Returns recorded content that can be played back with AudioPlayer. The content retrieved from this method is only valid in the current session.
Returns
Stop
Stops recording.
Returns
CanRecordAsync
Returns whether the AudioRecorder can currently record. For instance, this will return false if the current recording data has reached the recording time limit. To clear the recording, use Clear().
Returns
GetUnrecordableInstancesAsync
Traverses the audio graph, starting from this recorder's inputs, to find unrecordable instances. Currently, AudioDeviceInput is not recordable.
Returns
RecordAsync
If CanRecordAsync() returns true, recording begins. If recording cannot begin, this method produces an error.