ZIMAudio class abstract
Constructors
- ZIMAudio()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelRecord(
) → Future< void> - Cancel record audio file.
-
completeRecord(
) → Future< void> - Complete record audio file.
-
enableAGC(
bool enable) → Future< void> - Enables or disables automatic gain control (AGC).
-
enableANS(
bool enable) → Future< void> - Enables or disables active noise suppression (ANS, aka ANC).
-
init(
String license) → Future< void> - Init ZIMAudio SDK
-
isPlaying(
) → Future< bool> - Get whether it is playing.
-
isRecording(
) → Future< bool> - Get whether recording is taking place.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setANSParam(
ZIMAudioANSParam param) → Future< void> - Set noise suppression parameters, currently only includes noise suppression mode.
-
setAudioRouteType(
ZIMAudioRouteType routeType) → Future< void> - Set audio routing type.
-
startPlay(
ZIMAudioPlayConfig config) → Future< void> - Start playing audio file.
-
startRecord(
ZIMAudioRecordConfig config) → Future< void> - Start record audio file.
-
stopPlay(
) → Future< void> - Stop playing audio file.
-
toString(
) → String -
A string representation of this object.
inherited
-
uninit(
) → Future< void> - Uninit ZIMAudio SDK
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → ZIMAudio - Get SDK singleton object.
-
getVersion(
) → Future< String> - Gets the SDK's version number.
-
setAdvancedConfig(
String key, String value) → Future< void> - Set up SDK advanced configuration, please contact ZEGO technical support before use.