TRTCLocalRecordingParams class

录制参数

Constructors

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

Properties

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

Operators

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