SegmentDetection class
A technical cue or shot detection segment detected in a video. An array of
SegmentDetection
objects containing all segments detected in a
stored video is returned by GetSegmentDetection.
Constructors
- SegmentDetection.new({int? durationMillis, String? durationSMPTE, String? endTimecodeSMPTE, int? endTimestampMillis, ShotSegment? shotSegment, String? startTimecodeSMPTE, int? startTimestampMillis, TechnicalCueSegment? technicalCueSegment, SegmentType? type})
-
SegmentDetection.fromJson(Map<
String, dynamic> json) -
factory
Properties
- durationMillis → int?
-
The duration of the detected segment in milliseconds.
final
- durationSMPTE → String?
-
The duration of the timecode for the detected segment in SMPTE format.
final
- endTimecodeSMPTE → String?
-
The frame-accurate SMPTE timecode, from the start of a video, for the end of
a detected segment.
EndTimecode
is in HH:MM:SS:fr format (and ;fr for drop frame-rates).final - endTimestampMillis → int?
-
The end time of the detected segment, in milliseconds, from the start of the
video. This value is rounded down.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shotSegment → ShotSegment?
-
If the segment is a shot detection, contains information about the shot
detection.
final
- startTimecodeSMPTE → String?
-
The frame-accurate SMPTE timecode, from the start of a video, for the start
of a detected segment.
StartTimecode
is in HH:MM:SS:fr format (and ;fr for drop frame-rates).final - startTimestampMillis → int?
-
The start time of the detected segment in milliseconds from the start of the
video. This value is rounded down. For example, if the actual timestamp is
100.6667 milliseconds, Amazon Rekognition Video returns a value of 100
millis.
final
- technicalCueSegment → TechnicalCueSegment?
-
If the segment is a technical cue, contains information about the technical
cue.
final
- type → SegmentType?
-
The type of the segment. Valid values are
TECHNICAL_CUE
andSHOT
.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited