Retrieves the priority from the event object.
Syntax
public int getPriority();
Parameters
None.
Return values
An integer to indicate the priority of the event.
Exceptions
None.
Notes
Use the event priority to determine the correct processing order of the event.