Interface MountIface.OnGetDrive

Enclosing class:
MountIface
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 MountIface.OnGetDrive
  • Method Details

    • onGetDrive

      Drive onGetDrive(CallbackHandler __self, @Nonnull Mount mount)
      Parameters:
      mount - a #GMount.
      Returns:
      a #GDrive or %NULL if @mount is not associated with a volume or a drive. The returned object should be unreffed with g_object_unref() when no longer needed.