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
VoiceServiceMockRequest Class
Extends
VoiceServiceRequest
A request to be used with
VoiceService.WrapRequest
method for custom application of response data
Protected Fields
override bool
DecodeRawResponses
[Get]
Constructors & Destructors
VoiceServiceMockRequest
(
NLPRequestInputType
newInputType,
WitRequestOptions
newOptions,
VoiceServiceRequestEvents
newEvents )
void
SetRawResponse
( string jsonText,
bool final )
Preferred method for setting raw response data and decoding it locally
Parameters
jsonText
The raw json text to be decoded
final
Whether this is the final text chunk or not
void
SetTranscription
( string newTranscription,
bool full )
If additional transcription callbacks are required, handle them with this method
Parameters
newTranscription
The new transcription to be used
full
Whether this is a full transcription or not
void
SetResponseData
(
WitResponseNode
responseData,
bool final )
If additional decoded partial responses are required this method will handle their application.
Parameters
responseData
The decoded response data
final
Whether this is the final response or not
void
Fail
( string error )
Force error handling on a request with status code defaulted to default
Parameters
error
The error to be returned
void
Fail
( int statusCode,
string error )
Force error handling on a request
Parameters
statusCode
The specified status code
error
The error to be returned
Protected Functions
override bool
HasSentAudio
( )
override void
HandleAudioActivation
( )
override void
HandleAudioDeactivation
( )
override void
HandleSend
( )
override void
HandleCancel
( )
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