Adaptive Media Player

AmpCore Docs

Enumerations

The following enumerations are available globally.

  • Enum representation of the log level

    See more

    Declaration

    Swift

    public enum AmpLogLevel : Int
  • The enum representation of diferent buffering states that the content could be in.

    See more

    Declaration

    Swift

    @objc
    public enum BufferingState : Int, CustomStringConvertible
  • Enum representation of the provider of the Fairplay stream

    See more

    Declaration

    Swift

    @objc
    public enum FairplayProvider : Int, CustomStringConvertible
  • The enum representation of the PosterImage display behaviour

    See more

    Declaration

    Swift

    @objc
    public enum PosterImageType : Int
  • The enum representation of diferent playback states that the loaded content could be in.

    See more

    Declaration

    Swift

    @objc
    public enum PlaybackState : Int, CustomStringConvertible
  • Enum to manage the errors on the player.

    • UnknownAssetFormat: For assets with a incorrect format.
    • DownloadFailed: When the asset can’t download.
    • UnknownError: For unknown errors.
    See more

    Declaration

    Swift

    @objc
    public enum PlayerError : Int, Error
  • Enum representation of a type of stream.

    See more

    Declaration

    Swift

    @objc
    public enum StreamType : Int, CustomStringConvertible