Adaptive Media Player

AmpCore Docs

Classes

The following classes are available globally.

  • Container class for all the information related to the active ad break

    See more

    Declaration

    Swift

    @objc
    public class AdBreakInfo : NSObject
  • Container object of the general information of an Ad.

    See more

    Declaration

    Swift

    @objc
    public class AdInfo : NSObject
  • Third-party ads provider list

    See more

    Declaration

    Swift

    @objc
    open class AdVendor : NSObject
  • This class manages the logging of the event of the player

    See more

    Declaration

    Swift

    open class AmpLogger
  • Main class of AmpCore, it handles all type of configurations and events of the player.

    See more

    Declaration

    Swift

    @objc
    open class AmpPlayer : NSObject
  • Container class for the UI components related to playback

    See more

    Declaration

    Swift

    open class AmpPlayerView : UIView
  • Class in charge of handle configurations and events for SharePlay.

    See more

    Declaration

    Swift

    @available(iOS 15, tvOS 15, *)
    @objc
    open class AmpSharePlay : NSObject
  • Class in charge of managing the streams assets

    See more

    Declaration

    Swift

    public class AudioStreamHandler : StreamHandler
  • AmpCore‘s base implementation of the FullscreenHandler

    This can be inherited to add more functionalities

    See more

    Declaration

    Swift

    open class BaseFullscreenHandler : FullscreenHandler
  • AmpCore‘s base implementation of the FullscreenManager

    See more

    Declaration

    Swift

    open class BaseFullscreenManager : FullscreenManager
  • Container class of the specifications to load a Fairplay stream

    See more

    Declaration

    Swift

    open class FairplayConfiguration : NSObject
  • Container object for the caption specification.

    See more

    Declaration

    Swift

    open class Caption : NSObject
  • Class that contains the information of the media object

    See more

    Declaration

    Swift

    open class Media : NSObject
  • Container class of an OTT device connection

    See more

    Declaration

    Swift

    open class OTTDevice : NSObject
  • Container class for the player’s poster

    See more

    Declaration

    Swift

    open class PosterImage : NSObject
  • Class in charge of managing cuepoints per AmpPlayer.

    See more

    Declaration

    Swift

    open class CuepointManager : NSObject, PlayerEventObserver
  • Container class of the specifications of an available quality level

    Declaration

    Swift

    open class QualityLevel
  • Class in charge of registering, removing and iterating over a list of observers.

    See more

    Declaration

    Swift

    open class Observable<T> : NSObject
  • AmpCore‘s complete implementation of the FullscreenHandler

    See more

    Declaration

    Swift

    open class ParentViewFullscreen : BaseFullscreenHandler
  • Class in charge of managing the streams assets

    See more

    Declaration

    Swift

    public class StreamAssetHandler : StreamHandler
  • The StreamDownloader is in charge of handling the stream loading proccess

    See more

    Declaration

    Swift

    public class StreamDownloader
  • Contains all the information related to the current content.

    See more

    Declaration

    Swift

    open class StreamInfo : NSObject