Package com.hp.lft.sdk
Class VideoData
java.lang.Object
com.hp.lft.sdk.VideoData
An object that holds video binary data.
- 
Constructor SummaryConstructorsConstructorDescriptionVideoData(byte[] videoData, VideoFormat videoFormat) Create VideoData object.Create VideoData object.VideoData(String filePath, VideoFormat videoFormat) Create VideoData object.
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]getData()Returns the video binary data.Returns the video format.
- 
Constructor Details- 
VideoDataCreate VideoData object.- Parameters:
- videoData- Video binary data.
- videoFormat- Format of the video.
 
- 
VideoDataCreate VideoData object.- Parameters:
- filePath- Path to the video file.
- videoFormat- Format of the video.
- Throws:
- IOException- if the operation fails.
 
- 
VideoDataCreate VideoData object.- Parameters:
- filePath- Path to the video file. The video format will be deduced from the file extension.
- Throws:
- IOException- if the operation fails.
 
 
- 
- 
Method Details- 
getDatapublic byte[] getData()Returns the video binary data.- Returns:
- the video binary data.
 
- 
getVideoFormatReturns the video format.- Returns:
- the video format.
 
 
-