CuepointManager
public class CuepointManager : NSObject, PlayerEventObserver
Class in charge of managing cuepoints per AmpPlayer.
-
Initializes a new CuepointManager.
Declaration
Swift
public init(ampPlayer: AmpPlayer, observer: PlayerEventObserver, times: [Double])
Parameters
ampPlayer
The AmpPlayer linked with the cuepoints.
observer
The PlayerEventObserver that should be notified when the cuepoints are reached.
times
The list of times that should be listened to.
Return Value
A configured instance of an CuepointManager.