Class VideoInfo
Represents info about a video.
Implements
Inherited Members
Namespace: Evergine.Common.Media
Assembly: Evergine.Common.dll
Syntax
public class VideoInfo : IDisposable
Constructors
VideoInfo(IVideoInfo)
Initializes a new instance of the Video
Declaration
public VideoInfo(IVideoInfo internalVideoInfo)
Parameters
Type | Name | Description |
---|---|---|
IVideo |
internalVideoInfo | platform video info. |
Properties
Duration
Gets the duration of the video.
Declaration
public TimeSpan Duration { get; }
Property Value
Type | Description |
---|---|
Time |
Height
Gets the height of this video, in pixels.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
int |
InternalVideoInfo
Gets the specific IVideo
Declaration
public IVideoInfo InternalVideoInfo { get; }
Property Value
Type | Description |
---|---|
IVideo |
Path
Gets the path of the video.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
string |
Width
Gets the width of this video, in pixels.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Dispose()
Releases all resource used by the Video
Declaration
public void Dispose()
Remarks
Call Dispose() when you are finished using the Video