Enumerations

The following enumerations are available globally.

DRMTodayResponseCode

  • Declaration

    Swift

    public enum DRMTodayResponseCode : Int
  • List of options that can be used to configure Broadpeak.

    Note

    Some of the options have specific values that can be found in the SmartLib documentation.
    See more

    Declaration

    Swift

    public enum BroadpeakStreamingSessionOptions : Int32

PlayerEngine

ContentType

  • The content type or “AUTO” if the player should use auto-detection on the content URL.

    See more

    Declaration

    Swift

    public enum ContentType : String, Codable, CaseIterable

DrmType

  • The type of DRM configuration that can be expected.

    Declaration

    Swift

    public enum DrmType : String, Codable, CaseIterable

DrmSystem

  • The type of DRM System that should be enforced.

    Declaration

    Swift

    public enum DrmSystem : String, Codable, CaseIterable

TrackType

  • The track type.

    See more

    Declaration

    Swift

    public enum TrackType : String, Codable, CaseIterable

Environment

  • The DRM-Today environment.

    Declaration

    Swift

    public enum Environment : String, Codable, CaseIterable

VideoCodec

  • Video codecs.

    Declaration

    Swift

    public enum VideoCodec : String, Codable, CaseIterable

AudioCodec

  • Audio codecs.

    Declaration

    Swift

    public enum AudioCodec : String, Codable, CaseIterable

Hoster

  • The host location of the content.

    Declaration

    Swift

    public enum Hoster : String, Codable, CaseIterable

TextFormat

  • Subtitle format types.

    Declaration

    Swift

    public enum TextFormat : String, Codable, CaseIterable
  • Cast engine

    See more

    Declaration

    Swift

    public enum CastEngine : String, Codable

ThumbnailsEngine

ErrorSeverity

  • Represents the severity level of an error, indicating how critical the error is and what kind of action may be needed.

    See more

    Declaration

    Swift

    public enum ErrorSeverity : Int

ErrorCategory

  • ErrorCategory defines a set of categories representing the broad classification of errors within the SDK.

    See more

    Declaration

    Swift

    public enum ErrorCategory : Int

ErrorType

  • Enumerates all possible error types that may occur within the SDK, including licensing, network, DRM, storage, playback, and other system-level errors.

    Each case represents a specific category or scenario where an error might be thrown. These allow detailed handling and easy identification of operational issues.

    See more

    Declaration

    Swift

    public enum ErrorType : Int, CaseIterable

PlaybackState

  • Playback state.

    See more

    Declaration

    Swift

    @objc
    public enum PlaybackState : Int, Equatable, CustomStringConvertible

AutoSelectTextTrackMode