Interface VolumeMonitor.OnMountPreUnmount

Enclosing class:
VolumeMonitor
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 VolumeMonitor.OnMountPreUnmount
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    May be emitted when a mount is about to be removed.
  • Method Details

    • onMountPreUnmount

      void onMountPreUnmount(@Nonnull Mount mount)
      May be emitted when a mount is about to be removed.

      This signal depends on the backend and is only emitted if
      GIO was used to unmount.
      Parameters:
      mount - a #GMount that is being unmounted.