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

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

Metadata for an inserted ad break.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ progress_events
array< Google\Cloud\Video\Stitcher\V1\ProgressEvent >

List of events that are expected to be triggered, ordered by time.

↳ ads
array< Google\Cloud\Video\Stitcher\V1\VodSessionAd >

Ordered list of ads stitched into the ad break.

↳ end_time_offset
Google\Protobuf\Duration

Ad break end time in seconds relative to the start of the VOD asset.

↳ start_time_offset
Google\Protobuf\Duration

Ad break start time in seconds relative to the start of the VOD asset.

getProgressEvents

List of events that are expected to be triggered, ordered by time.

Returns
Type
Description

setProgressEvents

List of events that are expected to be triggered, ordered by time.

Parameter
Name
Description
Returns
Type
Description
$this

getAds

Ordered list of ads stitched into the ad break.

Returns
Type
Description

setAds

Ordered list of ads stitched into the ad break.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTimeOffset

Ad break end time in seconds relative to the start of the VOD asset.

Returns
Type
Description

hasEndTimeOffset

clearEndTimeOffset

setEndTimeOffset

Ad break end time in seconds relative to the start of the VOD asset.

Parameter
Name
Description
Returns
Type
Description
$this

getStartTimeOffset

Ad break start time in seconds relative to the start of the VOD asset.

Returns
Type
Description

hasStartTimeOffset

clearStartTimeOffset

setStartTimeOffset

Ad break start time in seconds relative to the start of the VOD asset.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: