ZIMAudioRecordConfig class
Recording configuration.
Configure the recording file output path and maximum recording time during recording.
Constructors
- ZIMAudioRecordConfig.new(String filePath, {int? maxDuration})
Properties
- filePath ↔ String
-
The output path of the recording file. Currently, only full absolute paths with the suffix .mp3 or .m4a are supported. When passing in file paths in other formats, the SDK will throw an illegal file path error.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDuration ↔ int?
-
The maximum recording time, the default is 60000 ms, which is 60s. The unit of this parameter is milliseconds, and the maximum value does not exceed 120000.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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