loadFile

abstract fun loadFile(fileId: Long): Call<RemoteFile>

Load a specific file.

Loads the metadata about the file with the provided fileId.

For more information, see the related documentation page.

Return

Call resulting in a RemoteFile instance holding the metadata for the requested file id.

Parameters

fileId

target file id.


abstract fun loadFile(path: String): Call<RemoteFile>

Load a specific file.

Loads the metadata about the file with the provided path.

For more information, see the related documentation page.

Return

Call resulting in a RemoteFile instance holding the metadata for the requested path.

Parameters

path

target file path.

Throws

on a null or empty path argument.