Google Cloud Datalabeling V1beta1 Client - Class VideoThumbnail (0.6.3)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class VideoThumbnail.

Container of information of a video thumbnail.

Generated from protobuf message google.cloud.datalabeling.v1beta1.VideoThumbnail

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ thumbnail
string

A byte string of the video frame.

↳ time_offset
Google\Protobuf\Duration

Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.

getThumbnail

A byte string of the video frame.

Returns
Type
Description
string

setThumbnail

A byte string of the video frame.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTimeOffset

Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.

Returns
Type
Description

hasTimeOffset

clearTimeOffset

setTimeOffset

Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.

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