TRTCLocalRecordingParams class Null safety

Recording parameters

Constructors

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

Properties

filePath String
Field description: address of the recording file, which is required. Please ensure that the path is valid with read/write permissions; otherwise, the recording file cannot be generated. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
interval int
Field description: interval is the update frequency of the recording information in milliseconds. Value range: 1000–10000. Default value: -1, indicating not to call back
read / write
recordType int
Field description: media recording type, which is TRTCRecordTypeBoth by default, indicating to record both audio and video.
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