public static interface ContentModerationDetection.Builder extends SdkPojo, CopyableBuilder<ContentModerationDetection.Builder,ContentModerationDetection>
| Modifier and Type | Method and Description |
|---|---|
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 |
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)Copyright © 2023. All rights reserved.