TRTCLocalRecordingParams class Null safety

录制参数

Constructors

TRTCLocalRecordingParams({required String filePath, required int recordType, int interval = -1})

Properties

filePath String
【字段含义】录制的文件地址(必填),请确保路径有读写权限且合法,否则录制文件无法生成。 [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
interval int
【字段含义】interval 录制信息更新频率,单位毫秒,有效范围:1000-10000。默认值为-1,表示不回调。
read / write
recordType int
【字段含义】媒体录制类型,默认值:TRTCRecordTypeBoth,即同时录制音频和视频。
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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