Represents an event that can be canceled.
Indicates whether the event is canceled.
The metadata of the event. This can be used to store additional information about the event.
Cancels the event.
Gets a metadata value by key.
Gets a metadata value by key or a default value if the value is null.
Uncancels the event.
Sets a metadata key-value pair.