AudioEncoding
Unified audio models for microphone capture and playback across different glasses.
Design notes:
Microphone: SDK exposes "audio as a stream of chunks" (plus format metadata). Whether the app writes WAV/AAC or streams to ASR is an application-level decision.
Playback: a single
playAudio(source, options)method supports both TTS (text input) and raw audio bytes. Devices declarecanPlayTts/canPlayAudioBytesindependently.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.