Gio.Drive.prototype.poll_for_media_finish

function poll_for_media_finish(result: Gio.AsyncResult): Boolean {
    // Gjs wrapper for g_drive_poll_for_media_finish()
}
  

Finishes an operation started with Gio.Drive.prototype.poll_for_media on a drive.

result

a Gio.AsyncResult.

Returns

true if the drive has been poll_for_mediaed successfully, false otherwise.