Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Struct ResolutionWithRate

    Struct representing a combination of video resolution and frame rate.

    Implements
    System.IEquatable<ResolutionWithRate>
    Namespace: Emby.Media.Model.Types
    Assembly: Emby.Media.Model.dll
    Syntax
    public struct ResolutionWithRate : IEquatable<ResolutionWithRate>

    Constructors

    ResolutionWithRate(Int32, Int32, Double)

    Declaration
    public ResolutionWithRate(int width, int height, double frameRate)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height
    System.Double frameRate

    Properties

    FrameRate

    Gets the frame rate in frames/second (fps).

    Declaration
    public readonly double FrameRate { get; }
    Property Value
    Type Description
    System.Double

    The frame rate.

    Height

    Gets the resolution height.

    Declaration
    public readonly int Height { get; }
    Property Value
    Type Description
    System.Int32

    The resolution height.

    Resolution

    Declaration
    public readonly Resolution Resolution { get; }
    Property Value
    Type Description
    Resolution

    Width

    Gets the resolution width.

    Declaration
    public readonly int Width { get; }
    Property Value
    Type Description
    System.Int32

    The resolution width.

    Methods

    Equals(ResolutionWithRate)

    Declaration
    public bool Equals(ResolutionWithRate other)
    Parameters
    Type Name Description
    ResolutionWithRate other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    Equality(ResolutionWithRate, ResolutionWithRate)

    Declaration
    public static bool operator ==(ResolutionWithRate left, ResolutionWithRate right)
    Parameters
    Type Name Description
    ResolutionWithRate left
    ResolutionWithRate right
    Returns
    Type Description
    System.Boolean

    Inequality(ResolutionWithRate, ResolutionWithRate)

    Declaration
    public static bool operator !=(ResolutionWithRate left, ResolutionWithRate right)
    Parameters
    Type Name Description
    ResolutionWithRate left
    ResolutionWithRate right
    Returns
    Type Description
    System.Boolean

    Implements

    System.IEquatable<T>

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)

    See Also

    System.IEquatable<T>
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.