Gio.Drive.prototype.can_poll_for_media

function can_poll_for_media(): Boolean {
    // Gjs wrapper for g_drive_can_poll_for_media()
}
  

Checks if a drive can be polled for media changes.

Returns

true if the drive can be polled for media changes, false otherwise.