Interface Drive.OnStopButton

Enclosing class:
Drive
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 Drive.OnStopButton
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Emitted when the physical stop button (if any) of a drive has
    been pressed.
  • Method Details

    • onStopButton

      void onStopButton()
      Emitted when the physical stop button (if any) of a drive has
      been pressed.