UserEventHandler::HandleEvent

UserEventHandler::HandleEvent
virtual void HandleEvent(class Movie* pmovie, const class Event& event) = 0;
Description

HandleEvent is a callback method invoked when an event is fired from the player. 

The event types that start with "Do" prefix should be handled here; currently these are Event::EventType::DoShowMouse, Event::EventType::DoHideMouse and Event::EventType::DoSetMouseCursor.

Parameters
Parameters 
Description 
class Movie* pmovie 
The movie from where the event originated from. 
const class Event& event 
The Event object describing the event. Users can examine the Event::Type to know how to interpret the event.