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