HandleEventResult constants are flags that may be combined using bit-wise Boolean operations. For convenience, a number of helper methods are provided to manage these flags.

Enumeration Members

EVENT_HANDLED: 1

Flag indicating that the object that returns this value handled the event.

EVENT_IGNORED: 0

Indicates an event was ignored. This corresponds to a HandleEventResult value with all flags cleared.

REQUEST_DEACTIVATION: 4

Flag indicating that the object that returned this value wishes to be deactivated. This is different from the REQUEST_FINISH flag because this flag does not necessarily mean the end of the current user interaction. For example, in a composite controller solution, a controller may request to be deactivated so other controllers in the composite can be considered to handle subsequent events.

REQUEST_FINISH: 2

Flag indicating that the object that returned this value wishes to terminate the current user interaction. This usually means that the controller that was configured on the map will be removed and normal navigation controls will be active again.