encoding property

String? encoding
getter/setter pair

Encoding of the audio data sent for recognition.

Required. Possible string values are:

  • "AUDIO_ENCODING_UNSPECIFIED" : Default value. This value is unused.
  • "LINEAR16" : Headerless 16-bit signed little-endian PCM samples.
  • "MULAW" : Headerless 8-bit companded mulaw samples.
  • "ALAW" : Headerless 8-bit companded alaw samples.

Implementation

core.String? encoding;