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

    Show / Hide Table of Contents

    Class LevelInformation

    Class for unified presentation of all information associated with a specific codec level.

    Inheritance
    System.Object
    LevelInformation
    Namespace: Emby.Media.Model.Types
    Assembly: Emby.Media.Model.dll
    Syntax
    public class LevelInformation

    Constructors

    LevelInformation(String, String, String, Nullable<BitRate>, Nullable<Int32>, IList<ResolutionWithRate>)

    Declaration
    public LevelInformation(string shortName, string description, string id, BitRate? maxBitRate, int? ordinal, IList<ResolutionWithRate> resolutionRates)
    Parameters
    Type Name Description
    System.String shortName
    System.String description
    System.String id
    System.Nullable<BitRate> maxBitRate
    System.Nullable<System.Int32> ordinal
    System.Collections.Generic.IList<ResolutionWithRate> resolutionRates

    Properties

    Description

    Gets the common name of the level.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    System.String

    The common name of the level.

    Id

    Gets a unique identifier.

    Declaration
    public string Id { get; }
    Property Value
    Type Description
    System.String

    The identifier.

    MaxBitRate

    Gets the maximum bit rate supported by this level.

    Declaration
    public BitRate? MaxBitRate { get; }
    Property Value
    Type Description
    System.Nullable<BitRate>

    The maximum bit rate.

    MaxBitRateDisplay

    Gets a display value of the MaxBitRate property.

    Declaration
    public string MaxBitRateDisplay { get; }
    Property Value
    Type Description
    System.String

    The maximum bit rate as string.

    Ordinal

    Gets a value indicating the level's ranking relative to other levels.

    Declaration
    public int? Ordinal { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The level rank.

    ResolutionRates

    Gets examples for the maximum supported combinations of resolution and rate for this level.

    Declaration
    public IReadOnlyList<ResolutionWithRate> ResolutionRates { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<ResolutionWithRate>

    A list of ResolutionWithRate values.

    ResolutionRatesDisplay

    Gets a single string from the ResolutionRateStrings list.

    Declaration
    public string ResolutionRatesDisplay { get; }
    Property Value
    Type Description
    System.String

    A string containing resolutions and rates.

    ResolutionRateStrings

    Gets examples for the maximum supported combinations of resolution and rate for this level as string values.

    Declaration
    public IReadOnlyList<string> ResolutionRateStrings { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    A list of System.String values.

    ShortName

    Gets the enum member name of the level.

    Declaration
    public string ShortName { get; }
    Property Value
    Type Description
    System.String

    The enum member name of the level.

    Methods

    ToString()

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

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.