AudioRecorderService class
音频录制服务
Constructors
- AudioRecorderService()
-
factory
Properties
-
amplitudeStream
→ Stream<
double> -
音频振幅流
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRecording → bool
-
是否正在录制
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - 释放资源
-
hasPermission(
) → Future< bool> - 检查麦克风权限
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< bool> - 请求麦克风权限
-
startRecording(
) → Future< bool> - 开始录制
-
stopRecording(
) → Future< String?> - 停止录制
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited