getTotalStorage

abstract fun getTotalStorage(): Long

获取内部存储 (ROM) 的总空间。 通常指数据分区 (/data) 的大小。

Return

内部存储总大小,单位:字节 (Byte)。如果获取失败返回 -1。