create
Instantiates a new Content block.
Return
the created ContentBlock instance with an invalid AdPod.
Parameters
duration Ms
duration of the ContentBlock in milliseconds.
absolute Offset Ms
absoluteOffset of the ContentBlock in milliseconds.
relative Offset Ms
relativeOffset of the ContentBlock in milliseconds.
open fun create(durationMs: Long, absoluteOffsetMs: Long, relativeOffsetMs: Long, adPod: AdPod): ContentBlock
Instantiates a new Content block.
Return
the created ContentBlock instance.
Parameters
duration Ms
duration of the ContentBlock in milliseconds.
absolute Offset Ms
absoluteOffset of the ContentBlock in milliseconds.
relative Offset Ms
relativeOffset of the ContentBlock in milliseconds.
ad Pod
a non-null AdPod.