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