Search Results for

    Show / Hide Table of Contents

    Class VideoInfo

    Represents information about a video.

    Inheritance
    object
    VideoInfo
    Namespace: Evergine.Common.Media
    Assembly: Evergine.Common.dll
    Syntax
    public class VideoInfo

    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 on which the application is running.

    Declaration
    public IVideoInfo InternalVideoInfo { get; }
    Property Value
    Type Description
    IVideoInfo

    Path

    Gets the path to the video.

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    string

    Width

    Gets the width of the video, in pixels.

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    int

    Methods

    Dispose()

    Releases all resources 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.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX