java.lang.Object | ||
↳ | com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.VideoObjectBuilder> | |
↳ | com.google.firebase.appindexing.builders.VideoObjectBuilder |
Builder to construct an Indexable
for a video object.
For reference, see: http://schema.org/VideoObject.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the author of the video object.
| |||||||||||
Sets the duration of the video object in seconds.
| |||||||||||
Sets the duration of the video object which the user has already watched in seconds.
| |||||||||||
Sets the place where the video was taken.
| |||||||||||
Sets the series name this video object belongs to.
| |||||||||||
Sets the date when this video object was uploaded.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Sets the author of the video object.
Parameters | |
---|---|
author |
PersonBuilder : The author of the video object.
|
Returns | |
---|---|
VideoObjectBuilder |
Sets the duration of the video object in seconds.
Parameters | |
---|---|
durationInSeconds |
long : The duration of the video object in seconds.
|
Returns | |
---|---|
VideoObjectBuilder |
Sets the duration of the video object which the user has already watched in seconds.
Parameters | |
---|---|
durationWatchedInSeconds |
long : 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) .
|
Returns | |
---|---|
VideoObjectBuilder |
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 |
String : The series name this video object belongs to.
|
Returns | |
---|---|
VideoObjectBuilder |
Sets the date when this video object was uploaded.
Parameters | |
---|---|
uploadDate |
Date : The date when this video object was uploaded.
|
Returns | |
---|---|
VideoObjectBuilder |