Interface Drive.OnEjectButton

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.OnEjectButton
  • Method Summary

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

    • onEjectButton

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