public static interface CelebrityRecognition.Builder extends SdkPojo, CopyableBuilder<CelebrityRecognition.Builder,CelebrityRecognition>
| Modifier and Type | Method and Description |
|---|---|
CelebrityRecognition.Builder |
celebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
|
default CelebrityRecognition.Builder |
celebrity(Consumer<CelebrityDetail.Builder> celebrity)
Information about a recognized celebrity.
|
CelebrityRecognition.Builder |
timestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCelebrityRecognition.Builder timestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that
Timestamp is not guaranteed to be accurate to the individual frame where the celebrity first
appears.
timestamp - The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that
Timestamp is not guaranteed to be accurate to the individual frame where the celebrity
first appears.CelebrityRecognition.Builder celebrity(CelebrityDetail celebrity)
Information about a recognized celebrity.
celebrity - Information about a recognized celebrity.default CelebrityRecognition.Builder celebrity(Consumer<CelebrityDetail.Builder> celebrity)
Information about a recognized celebrity.
This is a convenience method that creates an instance of theCelebrityDetail.Builder avoiding the
need to create one manually via CelebrityDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to celebrity(CelebrityDetail).
celebrity - a consumer that will call methods on CelebrityDetail.Buildercelebrity(CelebrityDetail)Copyright © 2023. All rights reserved.