PlayerEvent

@objc(THEOplayerPlayerEvent)
public class PlayerEvent : NSObject, EventProtocol

Represents the base for all other player events.

  • A textual representation of the type of the event

    Declaration

    Swift

    @objc
    public private(set) var type: String { get }
  • The date at which the event occurred.

    Declaration

    Swift

    @objc
    public private(set) var date: Date { get }