Gio.Drive::poll_for_media
function vfunc_poll_for_media(cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { }
Asynchronously polls drive to see if media has been inserted or removed.
When the operation is finished, callback will be called. You can then call Gio.Drive.prototype.poll_for_media_finish to obtain the result of the operation.
- cancellable
optional Gio.Cancellable object, null to ignore.
- callback
a Gio.AsyncReadyCallback, or null.