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

Log about the media session on a device.

Attributes

  • deviceId (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t, default: nil) -
  • mediaSessionType (type: String.t, default: nil) -
  • mediaType (type: String.t, default: nil) - The type of the media session. If provider does not report this field, we ## compute it by mapping provider type to media type. Here is the mapping: |ProviderType |MediaItemMetadata.Type| |-------------------------------------- |MUSIC |TRACK | |VIDEO |VIDEO | |LIVE_TV |TV_CHANNEL | |AUDIOBOOK |AUDIO_BOOK | |PODCAST |PODCAST_EPISODE | ## |LIVE_STREAMING|VIDEO |

  • playbackState (type: String.t, default: nil) - The playback states of the session.
  • providerMid (type: String.t, default: nil) - The KG mid of the media provider.
  • supportedTransportControl (type: list(String.t), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantLogsDeviceMediaSessionLog{
  deviceId:
    GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t() | nil,
  mediaSessionType: String.t() | nil,
  mediaType: String.t() | nil,
  playbackState: String.t() | nil,
  providerMid: String.t() | nil,
  supportedTransportControl: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.