clearAllCache

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

Clears all cached data including Stream cache, image cache, and timestamped cache folders.

Return

Result.Success if all caches cleared successfully, or Result.Failure with an error

Parameters

context

Android context for cache directory access