StorageUtils

Types

Link copied to clipboard
data class StorageSpace(val path: String, val description: String, val isExternal: Boolean, val isPrimary: Boolean = false, val totalBytes: Long, val availableBytes: Long, val availableString: String, val freeBytes: Long)

Properties

Link copied to clipboard
const val TAG: String

Functions

Link copied to clipboard

Gets free space information for all available external storage volumes using app-specific directories. This is generally the recommended approach for handling external storage.