google_api_you_tube v0.21.0 GoogleApi.YouTube.V3.Model.InvideoTiming View Source

Describes a temporal position of a visual widget inside a video.

Attributes

  • durationMs (type: String.t, default: nil) - Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
  • offsetMs (type: String.t, default: nil) - Defines the time at which the promotion will appear. Depending on the value of <code>type</code> the value of the <code>offsetMs</code> field will represent a time offset from the start or from the end of the video, expressed in milliseconds.
  • type (type: String.t, default: nil) - Describes a timing type. If the value is <code>offsetFromStart</code>, then the <code>offsetMs</code> field represents an offset from the start of the video. If the value is <code>offsetFromEnd</code>, then the <code>offsetMs</code> field represents an offset from the end of the video.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.YouTube.V3.Model.InvideoTiming{
  durationMs: String.t(),
  offsetMs: String.t(),
  type: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.