Action | OnStartRecording ( ) Invoked when the instance starts Recording. |
Action | Invoked when an AudioClip couldn't be created to start recording. |
Action< int, float[], float > | OnSampleReady ( ) Invoked everytime an audio frame is collected. Includes the frame. |
Action | OnStopRecording ( ) Invoked when the instance stop Recording. |
bool | IsRecording[Get] Returns true if the audio input source is currently recording. |
AudioEncoding[Get] Settings determining how audio is encoded by the source. |
void | StartRecording ( int sampleLen ) Starts recording audio with the specified sample length. |
void | StopRecording ( ) Stops recording audio. |
Action Meta.WitAi.Interfaces.IAudioInputSource.OnStartRecording ( ) |
---|
Invoked when the instance starts Recording. |
Action Meta.WitAi.Interfaces.IAudioInputSource.OnStartRecordingFailed ( ) |
---|
Invoked when an AudioClip couldn't be created to start recording. |
Action<int, float[], float> Meta.WitAi.Interfaces.IAudioInputSource.OnSampleReady ( ) |
---|
Invoked everytime an audio frame is collected. Includes the frame. |
Action Meta.WitAi.Interfaces.IAudioInputSource.OnStopRecording ( ) |
---|
Invoked when the instance stop Recording. |
bool Meta.WitAi.Interfaces.IAudioInputSource.IsRecording |
---|
Returns true if the audio input source is currently recording. |
AudioEncoding Meta.WitAi.Interfaces.IAudioInputSource.AudioEncoding |
---|
Settings determining how audio is encoded by the source. NOTE: Default values for AudioEncoding are server optimized to reduce latency. |
void Meta.WitAi.Interfaces.IAudioInputSource.StartRecording ( int sampleLen ) |
---|
Starts recording audio with the specified sample length. Parameters sampleLen The length of the audio sample to record. |
void Meta.WitAi.Interfaces.IAudioInputSource.StopRecording ( ) |
---|
Stops recording audio. |