public static interface LabelDetection.Builder extends SdkPojo, CopyableBuilder<LabelDetection.Builder,LabelDetection>
| Modifier and Type | Method and Description |
|---|---|
LabelDetection.Builder |
durationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e.
|
LabelDetection.Builder |
endTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
|
default LabelDetection.Builder |
label(Consumer<Label.Builder> label)
Details about the detected label.
|
LabelDetection.Builder |
label(Label label)
Details about the detected label.
|
LabelDetection.Builder |
startTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
|
LabelDetection.Builder |
timestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the label was detected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLabelDetection.Builder timestamp(Long timestamp)
Time, in milliseconds from the start of the video, that the label was detected. Note that
Timestamp is not guaranteed to be accurate to the individual frame where the label first
appears.
timestamp - Time, in milliseconds from the start of the video, that the label was detected. Note that
Timestamp is not guaranteed to be accurate to the individual frame where the label first
appears.LabelDetection.Builder label(Label label)
Details about the detected label.
label - Details about the detected label.default LabelDetection.Builder label(Consumer<Label.Builder> label)
Details about the detected label.
This is a convenience method that creates an instance of theLabel.Builder avoiding the need to
create one manually via Label.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to label(Label).
label - a consumer that will call methods on Label.Builderlabel(Label)LabelDetection.Builder startTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected label.
startTimestampMillis - The time in milliseconds defining the start of the timeline segment containing a continuously detected
label.LabelDetection.Builder endTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected label.
endTimestampMillis - The time in milliseconds defining the end of the timeline segment containing a continuously detected
label.LabelDetection.Builder durationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to EndTimestampMillis.
durationMillis - The time duration of a segment in milliseconds, I.e. time elapsed from StartTimestampMillis to
EndTimestampMillis.Copyright © 2023. All rights reserved.