delete

abstract fun delete(file: RemoteEntry): Call<Boolean>

Delete a specified file or folder.

The call will delete the file or folder specified by the file argument to specified toFolder.

Return

Call resulting in true if the file was deleted, false otherwise.

See also

Parameters

file

The RemoteEntry to be deleted. Must not be null.

Throws

on a null file argument.


abstract fun delete(id: String): Call<Boolean>

Delete a specified file or folder.

The call will delete the file or folder specified by the file argument to specified toFolder.

Return

Call resulting in true if the file was deleted, false otherwise.

See also

Parameters

id

The id of the file or folder to be deleted. Must not be null.

Throws

on a null file argument.