View Source GoogleApi.ContentWarehouse.V1.Model.AssistantLogsMediaFocusInfoLog (google_api_content_warehouse v0.3.0)

The information related to Media Focus. TODO(b/138952173) Deprecate MediaFocusState in logs/proto/majel_gws/media_action_triggering_info.proto and assistant/verticals/media/proto/target_device_info.proto

Attributes

  • currentFocusDurationSec (type: integer(), default: nil) - How long the device is in focus so far
  • dialogTriggered (type: boolean(), default: nil) - TODO(b/134944092) Log MediaFocusDialogTrigger Enum in focus_status.
  • focusDevice (type: GoogleApi.ContentWarehouse.V1.Model.AssistantLogsDeviceInfoLog.t, default: nil) - LINT.ThenChange(//depot/google3/logs/proto/majel_gws/media_action_triggering_info.proto) The focus device.
  • mediaFocusState (type: String.t, default: nil) - The media focus state at the time of the request.
  • sourceDeviceId (type: String.t, default: nil) - The source device of media focus.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantLogsMediaFocusInfoLog{
  currentFocusDurationSec: integer() | nil,
  dialogTriggered: boolean() | nil,
  focusDevice:
    GoogleApi.ContentWarehouse.V1.Model.AssistantLogsDeviceInfoLog.t() | nil,
  mediaFocusState: String.t() | nil,
  sourceDeviceId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.