drive
to see if media has been inserted or removed.gDrivePollForMedia(object, cancellable = NULL, callback, user.data = NULL)
GDrive
.GCancellable
object, NULL
to ignore.GAsyncReadyCallback
, or NULL
.callback
callback
will be called.
You can then call gDrivePollForMediaFinish
to obtain the
result of the operation.