Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AudioClipAudioSource
ImageViewer
Lib
Meta
Conduit
Net
Voice
WitAi
WitAi
ArrayNodeReference
ArrayPool
Attributes
AudioDurationTracker
BaseSpeechService
CallbackHandlers
Comment
ComponentExtensions
Composer
Configuration
CoroutineUtility
Data
Dictation
Drawers
EditorUtilities
EnumerableExtensions
Events
ExportParser
ExportSaver
IExportParserPlugin
IRequest
ITelemetryEventsProvider
IVoiceActivationHandler
IVoiceEventProvider
IVoiceService
IWitRequestConfiguration
IWitRequestEndpointInfo
IWitRuntimeConfigProvider
IWitRuntimeConfigSetter
Inspectors
Interfaces
Json
Lib
MatchIntent
MatchIntentRegistry
ObjectNodeReference
ObjectPool
PluggableBase
RegisteredMatchIntent
Requests
ResponseErrorCode
ServiceReferences
Speech
TTS
TaskExtensions
TaskUtility
ThreadUtility
TypeExtensions
UnityEventExtensions
UnityObjectExtensions
Utilities
VLog
ValidatePartialIntent
VoiceService
Windows
Wit
WitAppInfoUtility
WitAuthUtility
WitConduitParameterProvider
WitConfigurationEditorUI
WitConstants
WitEditorConstants
WitEditorUI
WitExportRetriever
WitRequest
WitRequestFactory
WitRequestSettings
WitResponseReference
WitResultUtilities
WitRuntimeRequestConfiguration
WitService
WitStyles
WitTexts
WrapHttpWebRequest
ZipArchiveExtensions
Oculus
Code samples
Downloads
Release notes
Supported platforms
Meta
WitConstants Class
Fields
const string
API_VERSION
[Get]
const string
SDK_VERSION
[Get]
const string
CLIENT_NAME
[Get]
const string
URI_SCHEME
[Get]
const string
URI_AUTHORITY
[Get]
const string
URI_GRAPH_AUTHORITY
[Get]
const int
URI_DEFAULT_PORT
[Get]
const
WitRequestType
DEFAULT_REQUEST_TYPE
[Get]
const int
DEFAULT_REQUEST_TIMEOUT
[Get]
const string
HEADER_REQUEST_ID
[Get]
const string
HEADER_OP_ID
[Get]
const string
HEADER_CLIENT_USER_ID
[Get]
const string
HEADER_AUTH
[Get]
const string
HEADER_USERAGENT
[Get]
const string
HEADER_USERAGENT_CONFID_MISSING
[Get]
const string
HEADER_POST_CONTENT
[Get]
const string
HEADER_GET_CONTENT
[Get]
const string
HEADER_TAG_ID
[Get]
const string
HEADER_DEBUG
[Get]
const string
RESPONSE_REQUEST_ID
[Get]
const string
RESPONSE_CLIENT_USER_ID
[Get]
const string
RESPONSE_OPERATION_ID
[Get]
const string
RESPONSE_TYPE_KEY
[Get]
const string
RESPONSE_TYPE_PARTIAL_TRANSCRIPTION
[Get]
const string
RESPONSE_TYPE_FINAL_TRANSCRIPTION
[Get]
const string
RESPONSE_TYPE_PARTIAL_NLP
[Get]
const string
RESPONSE_TYPE_FINAL_NLP
[Get]
const string
RESPONSE_TYPE_READY_FOR_AUDIO
[Get]
const string
RESPONSE_TYPE_TTS
[Get]
const string
RESPONSE_TYPE_ERROR
[Get]
const string
RESPONSE_TYPE_ABORTED
[Get]
const string
RESPONSE_TYPE_END
[Get]
const string
ENDPOINT_SPEECH
[Get]
const string
ENDPOINT_JSON_MIME
[Get]
const int
ENDPOINT_SPEECH_SAMPLE_RATE
[Get]
const string
ENDPOINT_MESSAGE
[Get]
const string
ENDPOINT_MESSAGE_PARAM
[Get]
const string
ENDPOINT_JSON_DELIMITER
[Get]
const string
ENDPOINT_ERROR_PARAM
[Get]
const string
ENDPOINT_CONTEXT_PARAM
[Get]
https:
/
/wit.ai/docs/http/20240304/::context_link
const string
ERROR_REACHABILITY
[Get]
const string
ERROR_NO_CONFIG
[Get]
const string
ERROR_NO_CONFIG_TOKEN
[Get]
const string
ERROR_AUTHENTICATION_DENIED
[Get]
const string
ENDPOINT_TTS
[Get]
const string
ENDPOINT_TTS_PARAM
[Get]
const string
ENDPOINT_TTS_EVENTS
[Get]
const string
ENDPOINT_TTS_EVENT_EXTENSION
[Get]
const string
ENDPOINT_TTS_NO_CLIP
[Get]
const string
ENDPOINT_TTS_NO_TEXT
[Get]
const int
ENDPOINT_TTS_CHANNELS
[Get]
const int
ENDPOINT_TTS_SAMPLE_RATE
[Get]
const float
ENDPOINT_TTS_DEFAULT_READY_LENGTH
[Get]
const float
ENDPOINT_TTS_DEFAULT_MAX_LENGTH
[Get]
const int
ENDPOINT_TTS_QUEUE_PLAYBACK_TIMEOUT
[Get]
const int
ENDPOINT_TTS_DEFAULT_PRELOAD
[Get]
const int
ENDPOINT_TTS_BUFFER_LENGTH
[Get]
const int
ENDPOINT_TTS_DEFAULT_SAMPLE_LENGTH
[Get]
const int
ENDPOINT_TTS_ERROR_MAX_LENGTH
[Get]
const int
ENDPOINT_TTS_MAX_TEXT_LENGTH
[Get]
const string
ERROR_TTS_CACHE_DOWNLOAD
[Get]
const string
ERROR_TTS_DECODE
[Get]
const string
ERROR_TTS_NO_SAMPLES
[Get]
const string
ERROR_TTS_NO_EVENTS
[Get]
const string
ENDPOINT_DICTATION
[Get]
const string
ENDPOINT_COMPOSER_SPEECH
[Get]
const string
ENDPOINT_COMPOSER_MESSAGE
[Get]
const string
ERROR_NO_TRANSCRIPTION
[Get]
const string
CANCEL_ERROR
[Get]
const string
CANCEL_MESSAGE_DEFAULT
[Get]
const string
CANCEL_MESSAGE_PRE_SEND
[Get]
const string
CANCEL_MESSAGE_PRE_AUDIO
[Get]
const int
ERROR_CODE_GENERAL
[Get]
Error code thrown when an exception is caught during processing or some other general error happens that is not an error from the server
const int
ERROR_CODE_NO_CONFIGURATION
[Get]
Error code returned when no configuration is defined
const int
ERROR_CODE_NO_CLIENT_TOKEN
[Get]
Error code returned when the client token has not been set in the
Wit
configuration.
const int
ERROR_CODE_NO_DATA_FROM_SERVER
[Get]
No data was returned from the server.
const int
ERROR_CODE_INVALID_DATA_FROM_SERVER
[Get]
Invalid data was returned from the server.
const int
ERROR_CODE_ABORTED
[Get]
Request was aborted
const int
ERROR_CODE_TIMEOUT
[Get]
Request to the server timed out
const string
TTS_VOICE_DEFAULT
[Get]
Default voice name used if no voice is provided
const string
TTS_STYLE_DEFAULT
[Get]
Default style used if no style is provided
const int
TTS_SPEED_DEFAULT
[Get]
Default speed used if no speed is provided
const int
TTS_SPEED_MIN
[Get]
Minimum speed supported by the endpoint (50%)
const int
TTS_SPEED_MAX
[Get]
Maximum speed supported by the endpoint (200%)
const int
TTS_PITCH_DEFAULT
[Get]
Default pitch used if no speed is provided (100%)
const int
TTS_PITCH_MIN
[Get]
Minimum pitch supported by the endpoint (25%)
const int
TTS_PITCH_MAX
[Get]
Maximum pitch supported by the endpoint (200%)
const string
TTS_EMPTY_ID
[Get]
Clip id used for empty text
const
TTSWitAudioType
TTS_TYPE_DEFAULT
[Get]
Default audio type suggested for use
const string
KEY_RESPONSE_TRANSCRIPTION
[Get]
The key in the response body for the response transcription
const string
KEY_RESPONSE_TRANSCRIPTION_IS_FINAL
[Get]
The key in the response body for the final transcription
const string
KEY_RESPONSE_NLP_INTENTS
[Get]
The key in the response body for the response NLP intents
const string
KEY_RESPONSE_NLP_ENTITIES
[Get]
The key in the response body for the response NLP entities
const string
KEY_RESPONSE_NLP_TRAITS
[Get]
The key in the response body for the response NLP traits
const string
KEY_RESPONSE_PARTIAL
[Get]
Key in the response body for partially built responses
const string
KEY_RESPONSE_FINAL
[Get]
Key in the response body for completed responses
const string
KEY_RESPONSE_ACTION
[Get]
The key in the response body for the action handling
const string
KEY_RESPONSE_IS_FINAL
[Get]
The key in the response body for the final response
const string
KEY_RESPONSE_CODE
[Get]
The key in the response body for the response code
const string
KEY_RESPONSE_ERROR
[Get]
The key in the response body for the response error message
const string
ERROR_RESPONSE_EMPTY_TRANSCRIPTION
[Get]
The server received a request, but there was no transcription detected in the input audio stream.
const string
ERROR_RESPONSE_TIMEOUT
[Get]
The active request timed out
const int
ERROR_CODE_SIMULATED
[Get]
Simulated error values
const string
ERROR_RESPONSE_SIMULATED
[Get]
const string
WIT_SOCKET_URL
[Get]
const int
WIT_SOCKET_CONNECT_TIMEOUT
[Get]
const int
WIT_SOCKET_RECONNECT_ATTEMPTS
[Get]
const float
WIT_SOCKET_RECONNECT_INTERVAL
[Get]
const int
WIT_SOCKET_RECONNECT_INTERVAL_MIN
[Get]
const string
WIT_SOCKET_REQUEST_ID_KEY
[Get]
const string
WIT_SOCKET_CLIENT_USER_ID_KEY
[Get]
const string
WIT_SOCKET_OPERATION_ID_KEY
[Get]
const string
WIT_SOCKET_API_KEY
[Get]
const string
WIT_SOCKET_CONTENT_KEY
[Get]
const int
WIT_SOCKET_DISCONNECT_CODE
[Get]
const string
WIT_SOCKET_DISCONNECT_ERROR
[Get]
const string
WIT_SOCKET_AUTH_TOKEN
[Get]
const string
WIT_SOCKET_AUTH_RESPONSE_KEY
[Get]
const string
WIT_SOCKET_AUTH_RESPONSE_VAL
[Get]
const string
WIT_SOCKET_AUTH_RESPONSE_ERROR
[Get]
const string
WIT_SOCKET_DATA_KEY
[Get]
const string
WIT_SOCKET_ACCEPT_KEY
[Get]
const string
WIT_SOCKET_END_KEY
[Get]
const string
WIT_SOCKET_ABORT_KEY
[Get]
const string
WIT_SOCKET_TRANSCRIBE_KEY
[Get]
const string
WIT_SOCKET_TRANSCRIBE_MULTIPLE_KEY
[Get]
const string
WIT_SOCKET_TRANSCRIBE_IS_FINAL
[Get]
const char
WIT_SOCKET_PARAM_START
[Get]
const char
WIT_SOCKET_PARAM_END
[Get]
const char
WIT_SOCKET_PARAM_DELIM
[Get]
const string
WIT_SOCKET_EXTERNAL_ENDPOINT_KEY
[Get]
const string
WIT_
SOCKET_EXTERNAL_UNKNOWN_CLIENT_USER_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_SUBSCRIBE_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_UNSUBSCRIBE_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_TOPIC_KEY
[Get]
const string
WIT_
SOCKET_PUBSUB_TOPIC_TRANSCRIPTION_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_TOPIC_COMPOSER_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_PUBLISH_KEY
[Get]
const string
WIT_
SOCKET_PUBSUB_PUBLISH_TRANSCRIPTION_KEY
[Get]
const string
WIT_SOCKET_PUBSUB_PUBLISH_COMPOSER_KEY
[Get]
const string
PARAM_OP_ID
[Get]
const string
PARAM_REQUEST_ID
[Get]
const string
PARAM_N_BEST_INTENTS
[Get]
Public Statics
static readonly
ResponseErrorCode
GENERAL_RESPONSE_ERROR_CODE
[Get]
static readonly
ResponseErrorCode
[]
KNOWN_ERROR_CODES
[Get]
static string
TTS_VOICE
[Get]
/synthesize parameter: The voice id to use when speaking via a voice preset.
static string
TTS_STYLE
[Get]
/synthesize parameter: Adjusts the style used when speaking with a tts voice
static string
TTS_SPEED
[Get]
/synthesize parameter: Adjusts the speed at which a voice will speak
,
static string
TTS_PITCH
[Get]
/synthesize parameter: Adjusts the pitch at which a voice will speak
Static Member Functions
static
ResponseErrorCode
GetResponseErrorCode
( string codeString )
static
ResponseErrorCode
GetResponseErrorCode
( int code )
static string
GetUniqueId
( )
Returns a unique identifier using the current unix timestamp and a randomized guid
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta