Package com.restfb.types
Class Video.VideoStatus
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Video.VideoStatus
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Video
public static class Video.VideoStatus extends AbstractFacebookType
Represents the Video Status Graph API type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VideoStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getProcessingProgress()
Video processing progress in percent [int 0 to 100].Video.VideoPhase
getProcessingVideoPhase()
This structure contains information about progress through the processing phase.Video.VideoPhase
getPublishingVideoPhase()
This structure contains information about progress through the publishing phase.Video.VideoPhase
getUploadingVideoPhase()
This structure contains information about progress through the uploading phase.String
getVideoStatus()
Status of a video.void
setProcessingProgress(Integer processingProgress)
Video processing progress in percent [int 0 to 100].void
setProcessingVideoPhase(Video.VideoPhase processingVideoPhase)
This structure contains information about progress through the processing phase.void
setPublishingVideoPhase(Video.VideoPhase publishingVideoPhase)
This structure contains information about progress through the publishing phase.void
setUploadingVideoPhase(Video.VideoPhase uploadingVideoPhase)
This structure contains information about progress through the uploading phase.void
setVideoStatus(String videoStatus)
Status of a video.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
VideoStatus
public VideoStatus()
-
-
Method Detail
-
getVideoStatus
public String getVideoStatus()
Status of a video. Either "ready" (uploaded, encoded, thumbnails extracted), "processing" (not ready yet) or "error" (processing failed).- Returns:
- Status of a video
-
setVideoStatus
public void setVideoStatus(String videoStatus)
Status of a video. Either "ready" (uploaded, encoded, thumbnails extracted), "processing" (not ready yet) or "error" (processing failed).
-
getProcessingProgress
public Integer getProcessingProgress()
Video processing progress in percent [int 0 to 100].- Returns:
- Video processing progress in percent [int 0 to 100].
-
setProcessingProgress
public void setProcessingProgress(Integer processingProgress)
Video processing progress in percent [int 0 to 100].
-
getUploadingVideoPhase
public Video.VideoPhase getUploadingVideoPhase()
This structure contains information about progress through the uploading phase. The bytes_transferred field can be used in conjunction with the upload endpoint to resume an interrupted upload.
-
setUploadingVideoPhase
public void setUploadingVideoPhase(Video.VideoPhase uploadingVideoPhase)
This structure contains information about progress through the uploading phase. The bytes_transferred field can be used in conjunction with the upload endpoint to resume an interrupted upload.
-
getProcessingVideoPhase
public Video.VideoPhase getProcessingVideoPhase()
This structure contains information about progress through the processing phase. This phase encompasses generating alternate media encodings, thumbnails, and other assets necessary for publishing.
-
setProcessingVideoPhase
public void setProcessingVideoPhase(Video.VideoPhase processingVideoPhase)
This structure contains information about progress through the processing phase. This phase encompasses generating alternate media encodings, thumbnails, and other assets necessary for publishing.
-
getPublishingVideoPhase
public Video.VideoPhase getPublishingVideoPhase()
This structure contains information about progress through the publishing phase. This phase encompasses adding the video to the page, and if scheduled, will describe when the video is intended to be published.
-
setPublishingVideoPhase
public void setPublishingVideoPhase(Video.VideoPhase publishingVideoPhase)
This structure contains information about progress through the publishing phase. This phase encompasses adding the video to the page, and if scheduled, will describe when the video is intended to be published.
-
-