Interface Surface.OnEvent

Enclosing class:
Surface
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Surface.OnEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Emitted when GDK receives an input event for @surface.
  • Method Details

    • onEvent

      boolean onEvent(@Nonnull Pointer event)
      Emitted when GDK receives an input event for @surface.
      Parameters:
      event - an input event
      Returns:
      %TRUE to indicate that the event has been handled