Status

结果状态枚举,决定弹窗中间展示的图标

Entries

Link copied to clipboard

成功状态,展示绿色对勾图标

Link copied to clipboard

失败/错误状态,展示红色叉号图标

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
val iconResource: DrawableResource

对应的图标资源

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: 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.