StorageStatus

@Serializable
data class StorageStatus(val internalTotalBytes: Long, val internalAvailableBytes: Long, val internalUsagePercent: Int, val isLowStorage: Boolean, val hasExternalStorage: Boolean, val externalAvailableBytes: Long? = null)

Storage status snapshot for fleet operations.

Privacy (GDPR): Contains no PII. Only aggregate storage metrics.

Constructors

Link copied to clipboard
constructor(internalTotalBytes: Long, internalAvailableBytes: Long, internalUsagePercent: Int, isLowStorage: Boolean, hasExternalStorage: Boolean, externalAvailableBytes: Long? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

External storage available bytes

Link copied to clipboard

External storage available (SD card)

Link copied to clipboard

Internal storage available bytes

Link copied to clipboard

Internal storage total bytes

Link copied to clipboard

Internal storage usage percentage 0-100

Link copied to clipboard

Check if storage is in a critical state (<5%).

Link copied to clipboard

True if storage is critically low (<10%)

Functions

Link copied to clipboard

Get available storage in human-readable format.