clearStreamCache

fun clearStreamCache(context: Context): Result<Unit>

Deletes all the content contained within the Stream cache directory.

Return

Returns a Result. If the action was successful Result.Success will contain Unit, otherwise Result.Failure will contain a Error.

Parameters

context

The Context necessary to perform file operations.