BMPQuality

Objective-C


@interface BMPQuality : NSObject <BMPJsonable>

Swift

class Quality : NSObject, BMPJsonable

Quality definition of a media representation.

Note

This class acts as an abstract class.
  • The unique identifier of the quality.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull identifier;

    Swift

    var identifier: String { get }
  • The label of the media representation that should be exposed to the user (e.g. in the UI).

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull label;

    Swift

    var label: String { get }
  • The bitrate of the media representation in bits per second (bps).

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger bitrate;

    Swift

    var bitrate: UInt { get }
  • The codec of the media representation

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *codec;

    Swift

    var codec: String? { get }