The name of the Asset in Lens Studio.
Readonly
uniqueReturns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Wearable Only
Starts a new ASR session. While active the Lens will transcribe speech to text.
asrTranscriptionOptions
provides the options for the session
The event onTranscriptionUpdateEvent
is triggered when the transcription is updated.
The event onTranscriptionErrorEvent
is triggered when there is an error in the transcription process.
If startTranscribing
is called again while a session is active, the current session is cancelled and a new one started.
Wearable Only
Stops an active ASR Session before transcription is finished and discards the current session.
Allows the Lens to incorporate voice transcription with higher quality than the VoiceMlModule and supports a vast number of different languages.
Example
JavaScript
TypeScript