BlocklyController.EventsCallback

public static interface BlocklyController.EventsCallback

Callback interface for BlocklyEvents.

Public Method Summary

abstract int
abstract void
onEventGroup(List<BlocklyEvent> events)
Called when a group of events are fired and at least one event is of a type specified by getTypesBitmask().

Public Methods

public abstract int getTypesBitmask ()

Returns
  • The bitmask of event types handled by this callback. Must not change.

public abstract void onEventGroup (List<BlocklyEvent> events)

Called when a group of events are fired and at least one event is of a type specified by getTypesBitmask(). While events in the group will always include at least one event of the requested type, the group may also contain other events.

Parameters
events List of all the events in this group.