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
Requests
AudioStreamHandler
IVRequest
IVRequestDownloadDecoder
IWitInfoVRequest
IWitSyncVRequest
IWitVRequest
TextStreamHandler
VRequest
VRequestResponse
VoiceEventToRequestEventMapper
VoiceServiceMockRequest
VoiceServiceRequest
VoiceServiceRequestEvent
VoiceServiceRequestEvents
VoiceServiceRequestEventsWrapper
VoiceServiceRequestOptions
VoiceServiceRequestResults
WitInfoVRequest
WitMessageVRequest
WitResponseDecoder
WitSocketRequest
WitSyncVRequest
WitTTSVRequest
WitUnityRequest
WitVRequest
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
VoiceServiceRequest Class
Extends
NLPRequest< VoiceServiceRequestEvent, WitRequestOptions, VoiceServiceRequestEvents, VoiceServiceRequestResults, WitResponseNode >
Fields
bool
IsLocalRequest
[Get]
Check if request is local
int
StatusCode
[Get]
The status code returned from the last request
Protected Fields
override
INLPRequestResponseDecoder
<
WitResponseNode
>
ResponseDecoder
[Get]
Protected Functions
VoiceServiceRequest
(
NLPRequestInputType
newInputType,
WitRequestOptions
newOptions,
VoiceServiceRequestEvents
newEvents )
Constructor for
Voice
Service requests
Parameters
newInputType
The request input type (text/audio) to be used
newOptions
The request parameters to be used
newEvents
The request events to be called throughout it's lifecycle
override bool
ShouldIgnoreError
( int errorStatusCode,
string errorMessage )
Check for ignored error status codes & messages.
Parameters
errorStatusCode
The error status code if applicable
errorMessage
The error to be returned
override bool
OnSimulateResponse
( )
override void
ApplyResponseData
(
WitResponseNode
responseData,
bool isFinal )
override void
SetEventListeners
(
VoiceServiceRequestEvents
newEvents,
bool add )
Subscribes or unsubscribes all provided
VoiceServiceRequestEvents
from this request's
VoiceServiceRequestEvents
callbacks.
Parameters
newEvents
The events to subscribe or unsubscribe to the request.Events
add
Whether to add listeners or remove listeners
override void
RaiseEvent
(
VoiceServiceRequestEvent
eventCallback )
Performs an event callback with this request as the parameter
Parameters
eventCallback
The voice service request event to be called
Object Data for package-func
virtual void
SimulateError
(
VoiceErrorSimulationType
errorType )
Simulates a specific error
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