TRTCLocalRecordingParams class
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval ↔ int
-
Field description:
intervalis the update frequency of the recording information in milliseconds. Value range: 1000–10000. Default value: -1, indicating not to call backgetter/setter pair - recordType ↔ int
-
Field description: media recording type, which is
TRTCRecordTypeBothby default, indicating to record both audio and video.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