# Enumerations

The following enumerations are available globally.

- `BroadpeakStreamingSessionOptions`

  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

- `PlayerEngine`

  Player engine

  See more

  #### Declaration

  Swift

      public enum PlayerEngine : String, Codable

### ContentType

- `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

- `DrmType`

  The type of DRM configuration that can be expected.

  #### Declaration

  Swift

      public enum DrmType : String, Codable, CaseIterable

### DrmSystem

- `DrmSystem`

  The type of DRM System that should be enforced.

  #### Declaration

  Swift

      public enum DrmSystem : String, Codable, CaseIterable

### TrackType

- `TrackType`

  The track type.

  See more

  #### Declaration

  Swift

      public enum TrackType : String, Codable, CaseIterable

### Environment

- `Environment`

  The DRM-Today environment.

  #### Declaration

  Swift

      public enum Environment : String, Codable, CaseIterable

### VideoCodec

- `VideoCodec`

  Video codecs.

  #### Declaration

  Swift

      public enum VideoCodec : String, Codable, CaseIterable

### AudioCodec

- `AudioCodec`

  Audio codecs.

  #### Declaration

  Swift

      public enum AudioCodec : String, Codable, CaseIterable

### Hoster

- `Hoster`

  The host location of the content.

  #### Declaration

  Swift

      public enum Hoster : String, Codable, CaseIterable

### TextFormat

- `TextFormat`

  Subtitle format types.

  #### Declaration

  Swift

      public enum TextFormat : String, Codable, CaseIterable

### ThumbnailsEngine

- `ThumbnailsEngine`

  Thumbnails engine

  See more

  #### Declaration

  Swift

      public enum ThumbnailsEngine : String, Codable

### ErrorSeverity

- `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`

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

  See more

  #### Declaration

  Swift

      public enum ErrorCategory : Int

### ErrorType

- `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

- `PlaybackState`

  Playback state.

  See more

  #### Declaration

  Swift

      @objc
      public enum PlaybackState : Int, Equatable, CustomStringConvertible

### AutoSelectTextTrackMode

- `AutoSelectTextTrackMode`

  Modes for automatic selection of text tracks.

  See more

  #### Declaration

  Swift

      public enum AutoSelectTextTrackMode : Int, Codable, Equatable

- `SideloadedTrackState`

  Loading states of a sideloaded track.

  See more

  #### Declaration

  Swift

      public enum SideloadedTrackState