Promo
@JsonClass(generateAdapter = true)
Represents Content’s promotional video ad metadata.
Constructors
Link copied to clipboard
constructor(@Json(name = "contentId") id: String, @Json(name = "catalogType") type: String, @Json(name = "duration") durationMs: Double, @Json(name = "start") startTimeOffsetMs: Double, @Json(name = "end") endTimeOffsetMs: Double, @Json(name = "skippable") isSkippable: Boolean = false, @Json(name = "skipOffset") skipOffsetMs: Double = TIME_VALUE_UNKNOWN)
Properties
Link copied to clipboard
The duration of the promo (in milliseconds).
Link copied to clipboard
the content time offset at which the current promo was scheduled to end (in milliseconds).
Link copied to clipboard
Indicates whether the promo can be skipped by the user.
Link copied to clipboard
The skip offset of the promo (in milliseconds), or TIME_VALUE_UNKNOWN if not available.
Link copied to clipboard
the content time offset at which the current promo was scheduled (in milliseconds).