Enumerations

The following enumerations are available globally.

  • Declaration

    Swift

    public enum CoreMediaError : Error
  • 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

PlaybackState

  • Playback state.

    See more

    Declaration

    Swift

    @objc
    public enum PlaybackState : Int, Equatable, CustomStringConvertible

AutoSelectTextTrackMode

  • Modes for automatic selection of text tracks.

    See more

    Declaration

    Swift

    public enum AutoSelectTextTrackMode : Int, Codable, Equatable