AudioEncoding class

Sample layout of a raw audio payload, as opposed to AudioFormat above, which names the container. CONTAINER means the bytes carry their own header and the companion AudioFormat field says which one.

This is the single encoding enum for STT, VAD, diarization, and the voice agent. STT previously numbered PCM_S16_LE=1 and PCM_F32_LE=2, the reverse of everywhere else; it now follows the ordering below.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

valueOf(int value) AudioEncoding?