Status

@Serializable
enum Status : Enum<SDCardInfo.Status>

Entries

Link copied to clipboard
@SerialName(value = "0")
NO_CARD

无SD卡

Link copied to clipboard
@SerialName(value = "1")
NORMAL

正常使用状态

Link copied to clipboard
@SerialName(value = "2")
READONLY

只读状态, 无法写入数据

Link copied to clipboard
@SerialName(value = "3")
UNMOUNTED

未挂载(格式不支持、正在格式化等) = 3

Link copied to clipboard
@SerialName(value = "4")
UNRECORDED

当前设备可支配SD卡空间不足(通常是指小于300M)无法录像

Link copied to clipboard
@SerialName(value = "5")
OVERRIDING

空间不足,但是可循环覆盖录像中 正常录制到空间满并且循环覆盖录像中,一般是NORMAL状态,这个OVERRIDING状态是少量设备部分情况会出现,可以和NORMAL状态等同处理

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
@Transient
val raw: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.