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 VideoInfo class.
Declaration
public VideoInfo(IVideoInfo internalVideoInfo)
Parameters
Type | Name | Description |
---|---|---|
IVideoInfo | internalVideoInfo | platform video info. |
Properties
Duration
Gets the duration of the video.
Declaration
public TimeSpan Duration { get; }
Property Value
Type | Description |
---|---|
TimeSpan |
Height
Gets the height of this video, in pixels.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
int |
InternalVideoInfo
Gets the specific IVideoInfo for the platform where the application is running.
Declaration
public IVideoInfo InternalVideoInfo { get; }
Property Value
Type | Description |
---|---|
IVideoInfo |
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 VideoInfo object.
Declaration
public void Dispose()
Remarks
Call Dispose() when you are finished using the VideoInfo. The Dispose() method leaves the VideoInfo in an unusable state. After calling Dispose(), you must release all references to the VideoInfo so the garbage collector can reclaim the memory that the VideoInfo was occupying.