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

This variant defines the frame to be the first frame of the video's generated preview.

Attributes

  • previewLength (type: String.t, default: nil) -
  • xtagList (type: GoogleApi.ContentWarehouse.V1.Model.MediaIndexXtagList.t, default: nil) - All xtags used in the generation of the preview. The same frame generated from the same preview with different xtags will likely have different bytes (such as, for example, resulting from a different aspect ratio).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.MediaIndexFrameIdentifierPreviewFrameZeroVariant{
    previewLength: String.t() | nil,
    xtagList: GoogleApi.ContentWarehouse.V1.Model.MediaIndexXtagList.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.