This method adds an event to the consumer. Calling this method
invalidates the event parameter. The client application should
discard all references to this event upon calling add.
The behavior of an application that continues to use such references
is undefined.
Parameters:
-
event - the event to add, may not be null