NativePreviewHandlerAdapter class
Handler interface for {@link NativePreviewEvent} events.
class NativePreviewHandlerAdapter extends EventHandlerAdapter implements NativePreviewHandler { NativePreviewHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when NativePreviewEvent is fired. * * @param event the {@link NativePreviewEvent} that was fired */ void onPreviewNativeEvent(NativePreviewEvent event) { callback(event); } }
Extends
EventHandlerAdapter > NativePreviewHandlerAdapter
Implements
Constructors
new NativePreviewHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onPreviewNativeEvent(NativePreviewEvent event) #
Called when NativePreviewEvent is fired.
@param event the {@link NativePreviewEvent} that was fired
void onPreviewNativeEvent(NativePreviewEvent event) { callback(event); }