EventProtocol

@objc(THEOplayerEventProtocol)
public protocol EventProtocol

The Event API which can be used to represent an event.

  • The textual representation of the type of event.

    Declaration

    Swift

    var type: String { get }
  • The Date at which the event occured.

    Declaration

    Swift

    var date: Date { get }