0

Android sample code has trash() method (see same code github)

DriveFile file = Drive.DriveApi.getFile(getGoogleApiClient(), result.getDriveId());
file.trash(getGoogleApiClient()).setResultCallback(trashCallback);

I use the latest google play service library (updated on March 17).

But DriveFile class does not contain trash() method.

How to trash file?

Must use Google-Drive-SDK for java?

4

1 に答える 1