Track class
Track associated with the recording.
- Annotations
-
- @JsonSerializable()
Constructors
- Track({required String sourceTag, required String destination, String? error, RecordingJobState? state})
-
Track.fromJson(Map<
String, dynamic> json) -
factory
Properties
- destination → String
-
Indicates the destination track.
final
- error → String?
-
Optionally holds an implementation defined string value that describes the
error. The string should be in the English language.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceTag → String
-
If the received RTSP stream contains multiple tracks of the same type, the
SourceTag differentiates between those Tracks. This field can be ignored
in case of recording a local source.
final
- state → RecordingJobState?
-
Provides the job state of the track. The valid values of state shall be
“Idle”, “Active” and “Error”. If state equals “Error”, the Error field may
be filled in with an implementation defined value.
final
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.
override
-
toXml(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited