API reference
API reference
Select your platform
No SDKs available
No versions available

DictationListener Interface

Overview

Public Member Functions

void
Called when dictation has started
void
OnMicAudioLevel
( float micLevel )
Called when mic level changes. Used for building UI.
void
OnPartialTranscription
( string transcription )
Called with current predicted transcription. Could change as user speaks.
void
OnFinalTranscription
( string transcription )
Final transcription of what the user has said
void
OnError
( string errorType,
string errorMessage )
Called when there was an error with the dictation service
void
Called when the dictation session is done

Details

Member Functions

void Oculus.Voice.Dictation.Listeners.DictationListener.OnStart
( DictationListener listener )
Called when dictation has started
void Oculus.Voice.Dictation.Listeners.DictationListener.OnMicAudioLevel
( float micLevel )
Called when mic level changes. Used for building UI.
Parameters
micLevel
void Oculus.Voice.Dictation.Listeners.DictationListener.OnPartialTranscription
( string transcription )
Called with current predicted transcription. Could change as user speaks.
Parameters
transcription
void Oculus.Voice.Dictation.Listeners.DictationListener.OnFinalTranscription
( string transcription )
Final transcription of what the user has said
Parameters
transcription
void Oculus.Voice.Dictation.Listeners.DictationListener.OnError
( string errorType,
string errorMessage )
Called when there was an error with the dictation service
Parameters
errorType
The type of error encountered
errorMessage
Human readable message describing the error
void Oculus.Voice.Dictation.Listeners.DictationListener.OnStopped
( DictationListener listener )
Called when the dictation session is done
Did you find this page helpful?
Thumbs up icon
Thumbs down icon