Interface VolumeIface.OnGetDrive

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

    • onGetDrive

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