Struct ResolutionWithRate
Struct representing a combination of video resolution and frame rate.
Assembly: Emby.Media.Model.dll
public struct ResolutionWithRate : IEquatable<ResolutionWithRate>
Constructors
Declaration
public ResolutionWithRate(int width, int height, double frameRate)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Double |
frameRate |
|
Properties
Gets the frame rate in frames/second (fps).
Declaration
public readonly double FrameRate { get; }
Property Value
Type |
Description |
System.Double |
The frame rate.
|
Gets the resolution height.
Declaration
public readonly int Height { get; }
Property Value
Type |
Description |
System.Int32 |
The resolution height.
|
Declaration
public readonly Resolution Resolution { get; }
Property Value
Gets the resolution width.
Declaration
public readonly int Width { get; }
Property Value
Type |
Description |
System.Int32 |
The resolution width.
|
Methods
Declaration
public bool Equals(ResolutionWithRate other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
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)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Declaration
public static bool operator ==(ResolutionWithRate left, ResolutionWithRate right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool operator !=(ResolutionWithRate left, ResolutionWithRate right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>
Extension Methods
See Also