Skip to content Skip to sidebar Skip to footer

Android Drive Api Lock File While In Use

How can a DriveFile be locked for download while in use by a user? In my case i have a database stored on Drive that needs to be synchronized locally (on the device). To do this, i

Solution 1:

I don't think this is possible. Also, based from this old post, you can use the ETag of the file's entry to ensure that no one else has changed the file since it was fetched. This is not exactly the same thing, but it can achieve the same effect of ensuring that changes from one place are not overwritten by changes from another place. You should also file a feature request for this.


Post a Comment for "Android Drive Api Lock File While In Use"