AudioService class Null safety

Constructors

AudioService()
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
onAudioRecordStatus Stream<RecordInfo>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancelRecord() Future<NIMResult<bool>>
getAmplitude() Future<NIMResult<int>>
isAudioRecording() Future<NIMResult<bool>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
startRecord(AudioOutputFormat recordType, int maxDuration) Future<NIMResult<bool>>
Start recording. Setting the recording format and maximum recording length is supported. If no parameters are passed in, the recording format and the maximum recording length will be AAC and 120s respectively by default.
stopRecord() Future<NIMResult<bool>>
toString() String
A string representation of this object.
inherited

Operators

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