API reference

IVoiceService Interface

Properties

IsRequestActive : bool
[Get]
Returns true if voice service is currently active or request is transmitting
Signature
bool Meta.WitAi.IVoiceService.IsRequestActive
MicActive : bool
[Get]
Returns true Mic is still enabled
Signature
bool Meta.WitAi.IVoiceService.MicActive
Requests : HashSet< VoiceServiceRequest >
[Get]
The current running voice requests
Signature
HashSet<VoiceServiceRequest> Meta.WitAi.IVoiceService.Requests
TelemetryEvents : new TelemetryEvents
[Get][Set]
All events used for a voice service telemetry
Signature
new TelemetryEvents Meta.WitAi.IVoiceService.TelemetryEvents
TranscriptionProvider : ITranscriptionProvider
[Get][Set]
Easy acccess for transcription
Signature
ITranscriptionProvider Meta.WitAi.IVoiceService.TranscriptionProvider
UsePlatformIntegrations : bool
[Get][Set]
When set to true, the service will use platform integration.
Signature
bool Meta.WitAi.IVoiceService.UsePlatformIntegrations
VoiceEvents : new VoiceEvents
[Get][Set]
All events used for a voice service
Signature
new VoiceEvents Meta.WitAi.IVoiceService.VoiceEvents

Methods

CanActivateAudio ()
Whether or not this service can listen to audio
Signature
bool Meta.WitAi.IVoiceService.CanActivateAudio()
Returns
bool  True if audio can be listened to
CanSend ()
Whether or not this service can perform requests
Signature
bool Meta.WitAi.IVoiceService.CanSend()
Returns
bool  True if a request can be sent