Google Cloud Video Stitcher V1 Client - Class Interstitials (0.5.1)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class Interstitials.

Describes what was stitched into a VOD session's manifest.

Generated from protobuf message google.cloud.video.stitcher.v1.Interstitials

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ad_breaks array<Google\Cloud\Video\Stitcher\V1\VodSessionAdBreak>

List of ad breaks ordered by time.

↳ session_content Google\Cloud\Video\Stitcher\V1\VodSessionContent

Information related to the content of the VOD session.

getAdBreaks

List of ad breaks ordered by time.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdBreaks

List of ad breaks ordered by time.

Parameter
NameDescription
var array<Google\Cloud\Video\Stitcher\V1\VodSessionAdBreak>
Returns
TypeDescription
$this

getSessionContent

Information related to the content of the VOD session.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\VodSessionContent|null

hasSessionContent

clearSessionContent

setSessionContent

Information related to the content of the VOD session.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\VodSessionContent
Returns
TypeDescription
$this