Class RealtimeAssistant
Inheritance
object
RealtimeAssistant
Assembly: .dll
Syntax
public class RealtimeAssistant : AIDevKitComponent
Properties
AudioRecorder
Declaration
public RealtimeAudioRecorder AudioRecorder { get; }
Property Value
Type |
Description |
RealtimeAudioRecorder |
|
Declaration
public RealtimeAudioFormat InputAudioFormat { get; set; }
Property Value
Declaration
public int InputSampleDurationMs { get; set; }
Property Value
Declaration
public SampleRate InputSampleRate { get; set; }
Property Value
Type |
Description |
SampleRate |
|
Instructions
Declaration
public string Instructions { get; set; }
Property Value
IsRecording
Declaration
public bool IsRecording { get; }
Property Value
Declaration
public RealtimeAudioFormat OutputAudioFormat { get; set; }
Property Value
OutputAudioVolume
Declaration
public float OutputAudioVolume { get; set; }
Property Value
RTMModel
Declaration
public Model RTMModel { get; set; }
Property Value
STTModel
Declaration
public Model STTModel { get; set; }
Property Value
SilenceDurationMs
Declaration
public int SilenceDurationMs { get; set; }
Property Value
SilenceThreshold
Declaration
public float SilenceThreshold { get; set; }
Property Value
SpokenLanguage
Declaration
public SystemLanguage SpokenLanguage { get; set; }
Property Value
Type |
Description |
SystemLanguage |
|
Voice
Declaration
public Voice Voice { get; set; }
Property Value
Methods
Declaration
public UniTask ConfigureSession()
Returns
CreateConnection()
Declaration
public UniTask CreateConnection()
Returns
SetMicrophone(string)
Declaration
public void SetMicrophone(string microphoneDeviceName)
Parameters
Type |
Name |
Description |
string |
microphoneDeviceName |
|
StartRecording()
Declaration
public void StartRecording()
StopRecording()
Declaration
public void StopRecording()