Base classes & interfaces
-
Declaration
Swift
@objc(THEOplayerCacheEvent) public class CacheEvent : NSObject, EventProtocol -
Represents the player events that return the currentTime property.
See moreDeclaration
Swift
@objc(THEOplayerCurrentTimeEvent) public class CurrentTimeEvent : PlayerEvent -
The Event API which can be used to represent an event.
See moreDeclaration
Swift
@objc(THEOplayerEventProtocol) public protocol EventProtocol -
Represents an
See moreEventDispatcherwhich will be responsible for dispatching an event, once it occurs.Declaration
Swift
@available(*, deprecated, message: "This class will be removed with the next major release.") public class EventDispatcher : NSObject, EventDispatcherProtocol -
Represents an
See moreEventTypethat conforms to a certain type ofEventProtocolT.Declaration
Swift
public class EventType<T> where T : EventProtocol -
Classes that comform to this protocol can add and remove event listeners.
See moreDeclaration
Swift
public protocol EventDispatcherProtocol -
The base
TrackEvent protocol.Declaration
Swift
public protocol TrackEventProtocol : EventProtocol
Base classes & interfaces Reference