OTVEvent

An instance of a player event

  • Initailize OTVEvent instance with parameters

  • OTVEvent instances generated by the SDK will have their type property set to one of these

    See more
  • OTVEvent instances generated by the SDK will have their command property set to one of these

    See more
  • OTVEvent instances generated by the SDK that have a non-nil extra property will have a JSON string with one or more of these keys

    See more
  • The time at which the event occurred

  • The type of the event. SDK generated events will have types from EventType

  • The command of the event. SDK generated events will have commands from EventCommand

  • Optional extra information for the event. SDK generated events will have extras formatted as a JSON string, with keys from ExtraKey

  • Returns a Dictionary representing any JSON in the extra property

  • Utility function to generate a JSON string for the extra property