Wraps the event Type. This class is purely used for backwards-compatibility.
This actually belongs in Event, but to maintain backwards-compatibility of the API, this enum has been moved here rather than making Event public.