One Logo Pool Ball
MetricKit · IOS API REFERENCE

TotalDiskSpaceCapacityMetric

struct · iOS 27.0+ · SDK 27.1

struct TotalDiskSpaceCapacityMetric

A metric for disk space capacity.

Members (2)

get · iOS 27.0+

capacity

TypeScript
get capacity(): _Foundation_Measurement<_Foundation_UnitInformationStorage>
Swift declaration
let capacity: Measurement<UnitInformationStorage>

The total disk space capacity of the current device.

get · iOS 27.0+

spaceUsed

TypeScript
get spaceUsed(): _Foundation_Measurement<_Foundation_UnitInformationStorage>
Swift declaration
let spaceUsed: Measurement<UnitInformationStorage>

The total amount of used disk storage on the current device.

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →