Ejects a drive. This is an asynchronous operation, and is finished by calling gio.drive.Drive.ejectWithOperationFinish with the drive and #GAsyncResult data returned in the callback.
flags affecting the unmount if required for eject
a #GMountOperation or null to avoid user interaction.
optional #GCancellable object, null to ignore.
a #GAsyncReadyCallback, or null.
Ejects a drive. This is an asynchronous operation, and is finished by calling gio.drive.Drive.ejectWithOperationFinish with the drive and #GAsyncResult data returned in the callback.