VideoObjectBuilder

public final class VideoObjectBuilder extends IndexableBuilder<VideoObjectBuilder>

Builder to construct an Indexable for a video object.

For reference, see: //schema.org/VideoObject.

Public Method Summary

VideoObjectBuilder
setAuthor(PersonBuilder author)
Sets the author of the video object.
VideoObjectBuilder
setDuration(long durationInSeconds)
Sets the duration of the video object in seconds.
VideoObjectBuilder
setDurationWatched(long durationWatchedInSeconds)
Sets the duration of the video object which the user has already watched in seconds.
VideoObjectBuilder
setLocationCreated(PlaceBuilder place)
Sets the place where the video was taken.
VideoObjectBuilder
setSeriesName(String seriesName)
Sets the series name this video object belongs to.
VideoObjectBuilder
setUploadDate(Date uploadDate)
Sets the date when this video object was uploaded.

Inherited Method Summary

Public Methods

public VideoObjectBuilder setAuthor (PersonBuilder author)

Sets the author of the video object.

Parameters
author The author of the video object.

public VideoObjectBuilder setDuration (long durationInSeconds)

Sets the duration of the video object in seconds.

Parameters
durationInSeconds The duration of the video object in seconds.

public VideoObjectBuilder setDurationWatched (long durationWatchedInSeconds)

Sets the duration of the video object which the user has already watched in seconds.

Parameters
durationWatchedInSeconds The duration of the video object which the user has already watched in seconds. The value must be less than or equal to the value used in setDuration(long).

public VideoObjectBuilder setLocationCreated (PlaceBuilder place)

Sets the place where the video was taken.

public VideoObjectBuilder setSeriesName (String seriesName)

Sets the series name this video object belongs to. The name can represent a channel name, a subscription name or a playlist name.

Parameters
seriesName The series name this video object belongs to.

public VideoObjectBuilder setUploadDate (Date uploadDate)

Sets the date when this video object was uploaded.

Parameters
uploadDate The date when this video object was uploaded.

フィードバックを送信...

ご不明な点がありましたら、Google のサポートページをご覧ください。