View Source GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1AudioOutConfig (google_api_content_warehouse v0.4.0)

Specifies the desired format for the server to use when it returns audio_out messages.

Attributes

  • audioMode (type: String.t, default: nil) - Current audio mode on the device while issuing the query.
  • audioRoutingMode (type: String.t, default: nil) - Current audio routing on the device while issuing the query.
  • encoding (type: String.t, default: nil) - Required The encoding of audio data to be returned in all audio_out messages.
  • preferredBitrateBps (type: integer(), default: nil) - Optional Specifies preferred encoding bitrate (bits-per-second). Currently this is only implemented for OGG_OPUS for bitrates of 12000, 16000, 24000, 32000. If not specified, OGG_OPUS defaults to 32000.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1AudioOutConfig{
    audioMode: String.t() | nil,
    audioRoutingMode: String.t() | nil,
    encoding: String.t() | nil,
    preferredBitrateBps: integer() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.