Interface Device.OnToolChanged

Enclosing class:
Device
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 Device.OnToolChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted on pen/eraser devices whenever tools enter or leave proximity.
  • Method Details

    • onToolChanged

      void onToolChanged(@Nonnull DeviceTool tool)
      Emitted on pen/eraser devices whenever tools enter or leave proximity.
      Parameters:
      tool - The new current tool