Google Cloud Video Stitcher V1 Client - Class ProgressEvent (1.0.0)

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

Indicates a time in which a list of events should be triggered during media playback.

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

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_offset Google\Protobuf\Duration

The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.

↳ events array<Google\Cloud\Video\Stitcher\V1\Event>

The list of progress tracking events for the ad break. These can be of the following IAB types: BREAK_START, BREAK_END, IMPRESSION, CREATIVE_VIEW, START, FIRST_QUARTILE, MIDPOINT, THIRD_QUARTILE, COMPLETE, PROGRESS.

getTimeOffset

The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.

Returns
Type Description
Google\Protobuf\Duration|null

hasTimeOffset

clearTimeOffset

setTimeOffset

The time when the following tracking events occurs. The time is in seconds relative to the start of the VOD asset.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getEvents

The list of progress tracking events for the ad break. These can be of the following IAB types: BREAK_START, BREAK_END, IMPRESSION, CREATIVE_VIEW, START, FIRST_QUARTILE, MIDPOINT, THIRD_QUARTILE, COMPLETE, PROGRESS.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEvents

The list of progress tracking events for the ad break. These can be of the following IAB types: BREAK_START, BREAK_END, IMPRESSION, CREATIVE_VIEW, START, FIRST_QUARTILE, MIDPOINT, THIRD_QUARTILE, COMPLETE, PROGRESS.

Parameter
Name Description
var array<Google\Cloud\Video\Stitcher\V1\Event>
Returns
Type Description
$this