AudioService class
Constructors
- AudioService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onAudioRecordStatus
→ Stream<
RecordInfo> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelRecord(
) → Future< NIMResult< bool> > -
getAmplitude(
) → Future< NIMResult< int> > -
isAudioRecording(
) → Future< NIMResult< bool> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startRecord(
AudioOutputFormat recordType, int maxDuration) → Future< NIMResult< bool> > - 开始录制,支持参数设置录音格式和最大录音长度,默认为AAC和120s
-
stopRecord(
) → Future< NIMResult< bool> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited