public static interface ContentModerationDetection.Builder extends SdkPojo, CopyableBuilder<ContentModerationDetection.Builder,ContentModerationDetection>
| Modifier and Type | Method and Description |
|---|---|
ContentModerationDetection.Builder |
durationMillis(Long durationMillis)
The time duration of a segment in milliseconds, I.e.
|
ContentModerationDetection.Builder |
endTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected
moderation label.
|
default ContentModerationDetection.Builder |
moderationLabel(Consumer<ModerationLabel.Builder> moderationLabel)
The content moderation label detected by in the stored video.
|
ContentModerationDetection.Builder |
moderationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
|
ContentModerationDetection.Builder |
startTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected
moderation label.
|
ContentModerationDetection.Builder |
timestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContentModerationDetection.Builder timestamp(Long timestamp)
Time, in milliseconds from the beginning of the video, that the content moderation label was detected. Note
that Timestamp is not guaranteed to be accurate to the individual frame where the moderated
content first appears.
timestamp - Time, in milliseconds from the beginning of the video, that the content moderation label was detected.
Note that Timestamp is not guaranteed to be accurate to the individual frame where the
moderated content first appears.ContentModerationDetection.Builder moderationLabel(ModerationLabel moderationLabel)
The content moderation label detected by in the stored video.
moderationLabel - The content moderation label detected by in the stored video.default ContentModerationDetection.Builder moderationLabel(Consumer<ModerationLabel.Builder> moderationLabel)
The content moderation label detected by in the stored video.
This is a convenience method that creates an instance of theModerationLabel.Builder avoiding the
need to create one manually via ModerationLabel.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to moderationLabel(ModerationLabel).
moderationLabel - a consumer that will call methods on ModerationLabel.BuildermoderationLabel(ModerationLabel)ContentModerationDetection.Builder startTimestampMillis(Long startTimestampMillis)
The time in milliseconds defining the start of the timeline segment containing a continuously detected moderation label.
startTimestampMillis - The time in milliseconds defining the start of the timeline segment containing a continuously detected
moderation label.ContentModerationDetection.Builder endTimestampMillis(Long endTimestampMillis)
The time in milliseconds defining the end of the timeline segment containing a continuously detected moderation label.
endTimestampMillis - The time in milliseconds defining the end of the timeline segment containing a continuously detected
moderation label.ContentModerationDetection.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.