Protocols
The following protocols are available globally.
-
This protocol receives the AmpLogger events
See moreDeclaration
Swift
public protocol AmpLoggerInspector
-
Protocol for external playback awareness, e.g. Chromecast
Declaration
Swift
public protocol ExternalPlaybackDelegate
-
This is the protocol to create a custom implementation of fullscreen handling management
See moreDeclaration
Swift
public protocol FullscreenManager
-
This is the protocol to create a custom implementation of fullscreen handling
See moreDeclaration
Swift
public protocol FullscreenHandler
-
Protocol used to receive player events.
See moreDeclaration
Swift
@objc public protocol PlayerEventObserver
-
Protocol used to receive SharePlay events.
See moreDeclaration
Swift
@available(iOS 15, tvOS 15, *) @objc public protocol SharePlayEventObserver
-
This protocol needs to be implemented for creating a handler for a specific
See moreAmpCore/StreamType
Declaration
Swift
@objc public protocol StreamHandler