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