AudioRecordingConfiguration class Null safety
录音配置,在 RtcEngine.setAudioRecording
中配置。
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- AudioRecordingConfiguration(String filePath, {AudioRecordingQuality? recordingQuality, AudioRecordingPosition? recordingPosition, AudioSampleRateType? recordingSampleRate})
- Constructs a AudioRecordingConfiguration
Properties
- filePath ↔ String
-
录音文件在本地保存的绝对路径,需精确到文件名及格式。例如:
/sdcard/emulated/0/audio.mp4
(Android) 或/var/mobile/Containers/Data/audio.mp4
(iOS)。 请确保你指定的路径存在并且可写。read / write - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- recordingPosition ↔ AudioRecordingPosition?
-
录音内容。详见 AudioRecordingPosition。
@JsonKey(includeIfNull: false), read / write
- recordingQuality ↔ AudioRecordingQuality?
-
录音音质。详见 AudioRecordingQuality。 该参数仅适用于 AAC 文件。
@JsonKey(includeIfNull: false), read / write
- recordingSampleRate ↔ AudioSampleRateType?
-
录音采样率(Hz)。 [...]
@JsonKey(includeIfNull: false), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited