RecordState enum

录音状态

Inheritance

Constructors

RecordState(String tip)
const

Values

none → const RecordState
const RecordState('未初始化')
initLoading → const RecordState
const RecordState("初始化组件中...")
initComplete → const RecordState
const RecordState("初始化完成")
noPermission → const RecordState
const RecordState("没有录音权限")
recording → const RecordState
const RecordState("录音中...")
cancel → const RecordState
const RecordState("用户取消录音")
shortTip → const RecordState
const RecordState("录音时长过短")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tip String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RecordState>
A constant List of the values in this enum, in order of their declaration.