public static interface SegmentDetection.Builder extends SdkPojo, CopyableBuilder<SegmentDetection.Builder,SegmentDetection>
| Modifier and Type | Method and Description |
|---|---|
SegmentDetection.Builder |
durationMillis(Long durationMillis)
The duration of the detected segment in milliseconds.
|
SegmentDetection.Builder |
durationSMPTE(String durationSMPTE)
The duration of the timecode for the detected segment in SMPTE format.
|
SegmentDetection.Builder |
endTimecodeSMPTE(String endTimecodeSMPTE)
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment.
|
SegmentDetection.Builder |
endTimestampMillis(Long endTimestampMillis)
The end time of the detected segment, in milliseconds, from the start of the video.
|
default SegmentDetection.Builder |
shotSegment(Consumer<ShotSegment.Builder> shotSegment)
If the segment is a shot detection, contains information about the shot detection.
|
SegmentDetection.Builder |
shotSegment(ShotSegment shotSegment)
If the segment is a shot detection, contains information about the shot detection.
|
SegmentDetection.Builder |
startTimecodeSMPTE(String startTimecodeSMPTE)
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment.
|
SegmentDetection.Builder |
startTimestampMillis(Long startTimestampMillis)
The start time of the detected segment in milliseconds from the start of the video.
|
default SegmentDetection.Builder |
technicalCueSegment(Consumer<TechnicalCueSegment.Builder> technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
|
SegmentDetection.Builder |
technicalCueSegment(TechnicalCueSegment technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
|
SegmentDetection.Builder |
type(SegmentType type)
The type of the segment.
|
SegmentDetection.Builder |
type(String type)
The type of the segment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegmentDetection.Builder type(String type)
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
type - The type of the segment. Valid values are TECHNICAL_CUE and SHOT.SegmentType,
SegmentTypeSegmentDetection.Builder type(SegmentType type)
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
type - The type of the segment. Valid values are TECHNICAL_CUE and SHOT.SegmentType,
SegmentTypeSegmentDetection.Builder startTimestampMillis(Long startTimestampMillis)
The start time of the detected segment in milliseconds from the start of the video.
startTimestampMillis - The start time of the detected segment in milliseconds from the start of the video.SegmentDetection.Builder endTimestampMillis(Long endTimestampMillis)
The end time of the detected segment, in milliseconds, from the start of the video.
endTimestampMillis - The end time of the detected segment, in milliseconds, from the start of the video.SegmentDetection.Builder durationMillis(Long durationMillis)
The duration of the detected segment in milliseconds.
durationMillis - The duration of the detected segment in milliseconds.SegmentDetection.Builder startTimecodeSMPTE(String startTimecodeSMPTE)
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).
startTimecodeSMPTE - 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).SegmentDetection.Builder endTimecodeSMPTE(String endTimecodeSMPTE)
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).
endTimecodeSMPTE - 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).SegmentDetection.Builder durationSMPTE(String durationSMPTE)
The duration of the timecode for the detected segment in SMPTE format.
durationSMPTE - The duration of the timecode for the detected segment in SMPTE format.SegmentDetection.Builder technicalCueSegment(TechnicalCueSegment technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
technicalCueSegment - If the segment is a technical cue, contains information about the technical cue.default SegmentDetection.Builder technicalCueSegment(Consumer<TechnicalCueSegment.Builder> technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
This is a convenience that creates an instance of theTechnicalCueSegment.Builder avoiding the need
to create one manually via TechnicalCueSegment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to technicalCueSegment(TechnicalCueSegment).technicalCueSegment - a consumer that will call methods on TechnicalCueSegment.BuildertechnicalCueSegment(TechnicalCueSegment)SegmentDetection.Builder shotSegment(ShotSegment shotSegment)
If the segment is a shot detection, contains information about the shot detection.
shotSegment - If the segment is a shot detection, contains information about the shot detection.default SegmentDetection.Builder shotSegment(Consumer<ShotSegment.Builder> shotSegment)
If the segment is a shot detection, contains information about the shot detection.
This is a convenience that creates an instance of theShotSegment.Builder avoiding the need to create
one manually via ShotSegment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to shotSegment(ShotSegment).shotSegment - a consumer that will call methods on ShotSegment.BuildershotSegment(ShotSegment)Copyright © 2020. All rights reserved.