Enumerations

The following enumerations are available globally.

  • Quartiles that can be reached during an ad playback.

    See more

    Declaration

    Objective-C

    enum BMPAdQuartile : NSInteger {}
  • Types that can be specified for an AdTag.

    See more

    Declaration

    Objective-C

    enum BMPAdTagType : NSInteger {}
  • Represents different types of buffered data.

    See more

    Declaration

    Objective-C

    enum BMPBufferType : NSUInteger {}

    Swift

    enum BufferType : UInt, @unchecked Sendable
  • Represents different types of media.

    See more

    Declaration

    Objective-C

    enum BMPMediaType : NSUInteger {}

    Swift

    enum MediaType : UInt, @unchecked Sendable
  • This enum represents the offline error codes.

    See more

    Declaration

    Objective-C

    enum BMPOfflineErrorCode : NSInteger {}

    Swift

    typealias OfflineError.Code._ErrorType = OfflineError
  • States a source config can have regarding to offline playback and offline DRM.

    See more

    Declaration

    Objective-C

    enum BMPOfflineState : NSInteger {}

    Swift

    enum OfflineState : Int, @unchecked Sendable
  • This enum represents the error codes that can be associated with PlayerErrorEvent.

    See more

    Declaration

    Objective-C

    enum BMPPlayerErrorCode : NSInteger {}

    Swift

    typealias PlayerError.Code._ErrorType = PlayerError
  • This enum represents the warning codes that can be associated with PlayerWarningEvent.

    See more

    Declaration

    Objective-C

    enum BMPPlayerWarningCode : NSInteger {}

    Swift

    typealias PlayerWarning.Code._ErrorType = PlayerWarning
  • Specifies how the video content is scaled or stretched.

    See more

    Declaration

    Objective-C

    enum BMPScalingMode : NSInteger {}

    Swift

    enum ScalingMode : Int, @unchecked Sendable
  • This enum represents the error codes that can be associated with SourceErrorEvent.

    See more

    Declaration

    Objective-C

    enum BMPSourceErrorCode : NSInteger {}

    Swift

    typealias SourceError.Code._ErrorType = SourceError
  • This enum represents the warning codes that can be associated with SourceWarningEvent.

    See more

    Declaration

    Objective-C

    enum BMPSourceWarningCode : NSInteger {}

    Swift

    typealias SourceWarning.Code._ErrorType = SourceWarning
  • Represents different types of time modes.

    See more

    Declaration

    Objective-C

    enum BMPTimeMode : NSUInteger {}

    Swift

    @frozen enum TimeMode : UInt, @unchecked Sendable
  • Timeline reference point to calculate SourceConfigOptions.startOffset from. Default for live: TimelineReferencePoint.End Default for VOD: TimelineReferencePoint.Start.

    See more

    Declaration

    Objective-C

    enum BMPTimelineReferencePoint : NSInteger {}

    Swift

    enum TimelineReferencePoint : Int, @unchecked Sendable
  • Represents the different value types for the value property of BMPVttLine.

    See more

    Declaration

    Objective-C

    enum BMPVttLineValueType : NSUInteger {}

    Swift

    enum VttLineValueType : UInt, @unchecked Sendable
  • Represents the different value types for the value property of BMPVttPosition.

    See more

    Declaration

    Objective-C

    enum BMPVttPositionValueType : NSUInteger {}

    Swift

    enum VttPositionValueType : UInt, @unchecked Sendable
  • Factory to create a Player instance.

    See more

    Declaration

    Swift

    @available(iOS 14.0, tvOS 14.0, *)
    public enum PlayerCoreFactory
  • Provides the different log levels for logging an entry

    See more

    Declaration

    Swift

    @objc(BMPLogLevel)
    public enum LogLevel : Int
    extension LogLevel: CustomStringConvertible
  • Specifies when cast devices discovery starts.

    See more

    Declaration

    Swift

    @objc(BMPCastDeviceDiscoveryMode)
    public enum CastDeviceDiscoveryMode : Int
  • Type of the AdSource

    See more

    Declaration

    Swift

    @objc(BMPAdSourceType)
    public enum AdSourceType : Int
  • The available UI types for IMA during ad playback, used in the ImaAdvertisingConfig.

    See more

    Declaration

    Swift

    @objc(BMPImaUiType)
    public enum ImaUiType : Int
  • Enumerates the different available remote device types.

    See more

    Declaration

    Swift

    @objc(BMPRemoteControlType)
    public enum RemoteControlType : Int
  • Indicates which type of UI should be used.

    See more

    Declaration

    Swift

    @objc(BMPUserInterfaceType)
    public enum UserInterfaceType : Int
  • Specifies the player behaviour when Player.play is called.

    See more

    Declaration

    Swift

    @objc(BMPPlaybackStartBehaviour)
    public enum PlaybackStartBehaviour : UInt
  • Specifies the player behaviour when stalling should be exited.

    See more

    Declaration

    Swift

    @objc(BMPUnstallingBehaviour)
    public enum UnstallingBehaviour : UInt
  • Defines the replay behaviour of a playlist.

    See more

    Declaration

    Swift

    @objc(BMPReplayMode)
    public enum ReplayMode : Int
  • Types of media which can be handled by the Bitmovin Player.

    See more

    Declaration

    Swift

    @objc(BMPSourceType)
    public enum SourceType : Int
  • This enum defines different subtitle formats supported by the player.

    See more

    Declaration

    Swift

    @objc(BMPSubtitleFormat)
    public enum SubtitleFormat : Int
    extension SubtitleFormat: CustomStringConvertible
  • The type of a track object.

    See more

    Declaration

    Swift

    @objc(BMPTrackType)
    public enum TrackType : Int
  • Contains the different loading states a Source can be in.

    See more

    Declaration

    Swift

    @objc(BMPLoadingState)
    public enum LoadingState : Int
  • Represenets the desired action of an OfflineTrack

    See more

    Declaration

    Swift

    @objc(BMPOfflineTrackAction)
    public enum OfflineTrackAction : Int
  • Declaration

    Swift

    @objc(BMPMetadataType)
    public enum MetadataType : Int
  • Context kind for VAST macro replacement.

    See more

    Declaration

    Swift

    @objc(BMPVastMacroScope)
    public enum VastMacroScope : Int
  • Specifies when cast devices discovery starts.

    See more
  • Represenets the desired action of an OfflineTrack

    See more
  • Configuration for the analytics data collection feature on the Player.

    See more

    Declaration

    Swift

    public enum AnalyticsPlayerConfig