Class VideoData
An object that holds video binary data.
Inherited Members
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class VideoData
Constructors
VideoData(byte[], VideoFormat)
Create VideoData object.
Declaration
public VideoData(byte[] videoData, VideoFormat videoFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | videoData | Video binary data. |
| VideoFormat | videoFormat | Format of the video. |
VideoData(string)
Create VideoData object.
Declaration
public VideoData(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | Path to the video file. The video format will be deduced from the file extension. |
VideoData(string, VideoFormat)
Create VideoData object.
Declaration
public VideoData(string filePath, VideoFormat videoFormat)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | Path to the video file. |
| VideoFormat | videoFormat | Format of the video. |
Properties
Data
Video binary data.
Declaration
public byte[] Data { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Format
Video format.
Declaration
public VideoFormat Format { get; }
Property Value
| Type | Description |
|---|---|
| VideoFormat |