Package com.restfb.types
Klasse Video
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.Video
- Alle implementierten Schnittstellen:
HasComments
,HasCreatedTime
,HasMessage
,Serializable
Represents the Video Graph API type.
- Seit:
- 1.5
- Autor:
- Mark Allen
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
Represents the Video Thumbnail Graph API type.static class
Represents the Video Format Graph API type.static class
Represents the Video Status Graph API type.Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.restfb.types.FacebookType
FacebookType.Metadata
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
addAdBreak
(Integer adBreak) boolean
addCaption
(VideoCaption caption) boolean
addContentTag
(String contentTag) boolean
addCustomLabel
(String customLabel) boolean
addFormat
(Video.VideoFormat videoFormat) boolean
addTag
(NamedFacebookType tag) Time offsets of ad breaks in milliseconds.Back dated timeString that represents the back dated time granularityThe comments for this video.The number of comments of this video.The content category of this video.Tags that describe the contents of the video.The time the video was initially published.Labels used to describe the video.The long-form HTML description of the video.Whether the video is embeddable.HTML that may be used to embed the video on another website.getEvent()
If this object has a place, the event associated with the place.Whether or not the video is highlighted in Video Channel.The different formats of the video.getFrom()
An object containing the name and ID of the user who posted the video.getIcon()
An icon URL which represents the video.Specifies if the video is eligible for crossposting.Whether this video is episode or not.Whether the video is eligible to be promoted on InstagramWhether the video is exclusively used for copyright monitoring.The length of the video, in seconds.getLikes()
People who like this.The number of likes on this video.Number of unique people who watched the video broadcast when it was live.The live status of the video.Veraltet.FB seems to have removed this field.The music video copyright of this video because of a missing object description in the graph reference, we use a Map hereURL to the permalink page of the videoA URL for the thumbnail picture of the video.getPlace()
Location associated with the video, if any.The public view count of the video post, not aggregated with any other crossposts of the video.The status of the Premiere Watch Party, if anyPrivacy setting for the video.Whether a post about this video is published.The reactions for this video.The time that the video is scheduled to be published.A URL to the raw, playable video file.Object describing the status attributes of a video.getTags()
Tags for the video.getTitle()
The video title or captionThe publishers asset management code for this video.The last time the video or its caption were updated.getViews()
The public view count of the video.boolean
removeAdBreak
(Integer adBreak) boolean
removeCaption
(VideoCaption caption) boolean
removeContentTag
(String contentTag) boolean
removeCustomLabel
(String customLabel) boolean
removeFormat
(Video.VideoFormat videoFormat) boolean
void
setBackdatedTime
(Date backdatedTime) Back dated timevoid
setBackdatedTimeGranularity
(String backdatedTimeGranularity) String that represents the back dated time granularityvoid
setComments
(Comments comments) The comments for this video.void
setContentCategory
(String contentCategory) The content category of this video.void
setCreatedTime
(Date createdTime) The time the video was initially published.void
setDescription
(String description) The long-form HTML description of the video.void
setEmbeddable
(Boolean embeddable) Whether the video is embeddable.void
setEmbedHtml
(String embedHtml) HTML that may be used to embed the video on another website.void
If this object has a place, the event associated with the place.void
setFeedType
(String feedType) Whether or not the video is highlighted in Video Channel.void
An object containing the name and ID of the user who posted the video.void
An icon URL which represents the video.void
setIsCrosspostingEligible
(Boolean isCrosspostingEligible) Specifies if the video is eligible for crossposting.void
setIsCrosspostVideo
(Boolean isCrosspostVideo) void
setIsEpisode
(Boolean isEpisode) Whether this video is episode or not.void
setIsInstagramEligible
(Boolean isInstagramEligible) Whether the video is eligible to be promoted on Instagramvoid
setIsReferenceOnly
(Boolean isReferenceOnly) Whether the video is exclusively used for copyright monitoring.void
The length of the video, in seconds.void
People who like this.void
setLiveAudienceCount
(Integer liveAudienceCount) Number of unique people who watched the video broadcast when it was live.void
setLiveStatus
(String liveStatus) The live status of the video.void
setMessage
(String message) Veraltet.FB seems to have removed this field.void
setMusicVideoCopyright
(MusicVideoCopyright musicVideoCopyright) The music video copyright of this video because of a missing object description in the graph reference, we use a Map herevoid
setPermalinkUrl
(String permalinkUrl) URL to the permalink page of the videovoid
setPicture
(String picture) A URL for the thumbnail picture of the video.void
Location associated with the video, if any.void
setPostViews
(Integer postViews) The public view count of the video post, not aggregated with any other crossposts of the video.void
setPremiereLivingRoomStatus
(String premiereLivingRoomStatus) The status of the Premiere Watch Party, if anyvoid
setPrivacy
(Privacy privacy) Privacy setting for the video.void
setPublished
(Boolean published) Whether a post about this video is published.void
setReactions
(Reactions reactions) The reactions for this video.void
setScheduledPublishTime
(Date scheduledPublishTime) The time that the video is scheduled to be published.void
A URL to the raw, playable video file.void
setStatus
(Video.VideoStatus status) Object describing the status attributes of a video.void
The video title or captionvoid
setUniversalVideoId
(String universalVideoId) The publishers asset management code for this video.void
setUpdatedTime
(Date updatedTime) The last time the video or its caption were updated.void
The public view count of the video.Von Klasse geerbte Methoden com.restfb.types.NamedFacebookType
getName, setName
Von Klasse geerbte Methoden com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Von Klasse geerbte Methoden com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Konstruktordetails
-
Video
public Video()
-
-
Methodendetails
-
getCaptions
-
addCaption
-
removeCaption
-
getFormat
The different formats of the video.- Gibt zurück:
- The different formats of the video.
-
addFormat
-
removeFormat
-
getTags
Tags for the video.- Gibt zurück:
- Tags for the video.
- Seit:
- 1.6.5
-
addTag
-
removeTag
-
getContentTags
Tags that describe the contents of the video.- Gibt zurück:
- Tags that describe the contents of the video.
-
addContentTag
-
removeContentTag
-
getAdBreaks
Time offsets of ad breaks in milliseconds. Ad breaks are short ads that play within a video.- Gibt zurück:
- Time offsets of ad breaks in milliseconds. Ad breaks are short ads that play within a video.
-
addAdBreak
-
removeAdBreak
-
getCustomLabels
Labels used to describe the video. Unlike content tags, custom labels are not published and only appear in insights data.- Gibt zurück:
- Labels used to describe the video.
-
addCustomLabel
-
removeCustomLabel
-
getLikesCount
The number of likes on this video. you have to fetch the video id with?fields=likes.summary(true)
in order to speed up the likes count generation, you may use?fields=likes.limit(1).summary(true)
, so only 1 like is fetched, but the complete summary- Gibt zurück:
- The number of likes on this video.
-
getCommentsCount
The number of comments of this video. you have to fetch the video id with?fields=comments.summary(true)
in order to speed up the comments count generation, you may use?fields=comments.limit(1).summary(true)
, so only 1 comment is fetched, but the complete summary- Gibt zurück:
- The number of comments of this video.
-
getFrom
An object containing the name and ID of the user who posted the video.- Gibt zurück:
- An object containing the name and ID of the user who posted the video.
-
setFrom
An object containing the name and ID of the user who posted the video. -
getMessage
Veraltet.FB seems to have removed this field.The video title / caption.- Angegeben von:
getMessage
in SchnittstelleHasMessage
- Gibt zurück:
- The video title / caption.
-
setMessage
Veraltet.FB seems to have removed this field.The video title / caption. -
getComments
The comments for this video.- Angegeben von:
getComments
in SchnittstelleHasComments
- Gibt zurück:
- The comments for this video.
-
setComments
The comments for this video. -
getDescription
The long-form HTML description of the video.- Gibt zurück:
- The long-form HTML description of the video.
-
setDescription
The long-form HTML description of the video. -
getPermalinkUrl
URL to the permalink page of the video- Gibt zurück:
- URL to the permalink page of the video
-
setPermalinkUrl
URL to the permalink page of the video -
getTitle
The video title or caption- Gibt zurück:
- the video title or caption
-
setTitle
The video title or caption -
getIsCrosspostVideo
-
setIsCrosspostVideo
-
getIsCrosspostingEligible
Specifies if the video is eligible for crossposting.- Gibt zurück:
- Specifies if the video is eligible for crossposting
-
setIsCrosspostingEligible
Specifies if the video is eligible for crossposting. -
getIsEpisode
Whether this video is episode or not.- Gibt zurück:
- Whether this video is episode or not.
-
setIsEpisode
Whether this video is episode or not. -
getIsInstagramEligible
Whether the video is eligible to be promoted on Instagram- Gibt zurück:
- Whether the video is eligible to be promoted on Instagram
-
setIsInstagramEligible
Whether the video is eligible to be promoted on Instagram -
getIsReferenceOnly
Whether the video is exclusively used for copyright monitoring.- Gibt zurück:
- Whether the video is exclusively used for copyright monitoring
-
setIsReferenceOnly
Whether the video is exclusively used for copyright monitoring. -
getMusicVideoCopyright
The music video copyright of this video because of a missing object description in the graph reference, we use a Map here -
setMusicVideoCopyright
The music video copyright of this video because of a missing object description in the graph reference, we use a Map here -
getPostViews
The public view count of the video post, not aggregated with any other crossposts of the video. -
setPostViews
The public view count of the video post, not aggregated with any other crossposts of the video. -
getReactions
The reactions for this video.- Gibt zurück:
- The reactions for this video.
-
setReactions
The reactions for this video. -
getEmbeddable
Whether the video is embeddable.- Gibt zurück:
- Whether the video is embeddable.
-
setEmbeddable
Whether the video is embeddable. -
getEvent
If this object has a place, the event associated with the place.- Gibt zurück:
- the event associated with the place
-
setEvent
If this object has a place, the event associated with the place. -
getFeedType
Whether or not the video is highlighted in Video Channel.- Gibt zurück:
- Whether or not the video is highlighted in Video Channel.
-
setFeedType
Whether or not the video is highlighted in Video Channel. -
getUniversalVideoId
The publishers asset management code for this video. -
setUniversalVideoId
The publishers asset management code for this video. -
getViews
The public view count of the video. -
setViews
The public view count of the video. -
getLikes
People who like this. you need to add the field to the fields query parameter to get the likes list otherwise null is returned- Gibt zurück:
- People who like this
-
setLikes
People who like this. you need to add the field to the fields query parameter to get the likes list otherwise null is returned -
getPlace
Location associated with the video, if any.- Gibt zurück:
- Location associated with the video, if any.
-
setPlace
Location associated with the video, if any. -
getContentCategory
The content category of this video.- Gibt zurück:
- The content category of this video.
-
setContentCategory
The content category of this video. -
getPicture
A URL for the thumbnail picture of the video.- Gibt zurück:
- A URL for the thumbnail picture of the video.
-
setPicture
A URL for the thumbnail picture of the video. -
getIcon
An icon URL which represents the video.- Gibt zurück:
- An icon URL which represents the video.
-
setIcon
An icon URL which represents the video. -
getSource
A URL to the raw, playable video file.- Gibt zurück:
- A URL to the raw, playable video file.
- Seit:
- 1.6.5
-
setSource
A URL to the raw, playable video file.- Seit:
- 1.6.5
-
getEmbedHtml
HTML that may be used to embed the video on another website.- Gibt zurück:
- HTML that may be used to embed the video on another website.
-
setEmbedHtml
HTML that may be used to embed the video on another website. -
getLength
The length of the video, in seconds.- Gibt zurück:
- The length of the video, in seconds.
-
setLength
The length of the video, in seconds. -
getLiveAudienceCount
Number of unique people who watched the video broadcast when it was live.- Gibt zurück:
- Number of unique people who watched the video broadcast when it was live.
-
setLiveAudienceCount
Number of unique people who watched the video broadcast when it was live. -
getLiveStatus
The live status of the video. Possible values contain LIVE, LIVE_STOPPED, VOD- Gibt zurück:
- The live status of the video
-
setLiveStatus
The live status of the video. Possible values contain LIVE, LIVE_STOPPED, VOD -
getPrivacy
Privacy setting for the video.- Gibt zurück:
- Privacy setting for the video.
-
setPrivacy
Privacy setting for the video. -
getPremiereLivingRoomStatus
The status of the Premiere Watch Party, if any -
setPremiereLivingRoomStatus
The status of the Premiere Watch Party, if any -
getStatus
Object describing the status attributes of a video.- Gibt zurück:
- Object describing the status attributes of a video.
-
setStatus
Object describing the status attributes of a video. -
getPublished
Whether a post about this video is published. This field is only accessible in Graph API 2.3 or later.- Gibt zurück:
- whether a post about this video is published.
- Seit:
- 1.10.0
-
setPublished
Whether a post about this video is published. This field is only accessible in Graph API 2.3 or later.- Seit:
- 1.10.0
-
getBackdatedTime
Back dated time- Seit:
- 1.10.0
-
setBackdatedTime
Back dated time- Seit:
- 1.10.0
-
getBackdatedTimeGranularity
String that represents the back dated time granularity- Seit:
- 1.10.0
-
setBackdatedTimeGranularity
String that represents the back dated time granularity- Seit:
- 1.10.0
-
getCreatedTime
The time the video was initially published.- Angegeben von:
getCreatedTime
in SchnittstelleHasCreatedTime
- Gibt zurück:
- The time the video was initially published.
-
setCreatedTime
The time the video was initially published. -
getUpdatedTime
The last time the video or its caption were updated.- Gibt zurück:
- The last time the video or its caption were updated.
-
setUpdatedTime
The last time the video or its caption were updated. -
getScheduledPublishTime
The time that the video is scheduled to be published. This field is only accessible in Graph API 2.3 or later.- Gibt zurück:
- The time that the video is scheduled to be published.
- Seit:
- 1.10.0
-
setScheduledPublishTime
The time that the video is scheduled to be published. This field is only accessible in Graph API 2.3 or later.- Seit:
- 1.10.0
-