read

abstract suspend fun read(path: List<String>): ByteArray?

Read binary data from the given path, relative to the uri.

Return

The content of the file with the specified path, or null if that file does not exist.

Parameters

path

The path to the accessed data.

Throws

Thrown if the path cannot be accessed or the user has insufficient privileges.

Thrown in case of network connection problems.