Interface PersonDetection.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PersonDetection.Builder,PersonDetection>, SdkBuilder<PersonDetection.Builder,PersonDetection>, SdkPojo
Enclosing class:
PersonDetection

public static interface PersonDetection.Builder extends SdkPojo, CopyableBuilder<PersonDetection.Builder,PersonDetection>
  • Method Details

    • timestamp

      PersonDetection.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • person

      Details about a person whose path was tracked in a video.

      Parameters:
      person - Details about a person whose path was tracked in a video.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • person

      Details about a person whose path was tracked in a video.

      This is a convenience method that creates an instance of the PersonDetail.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).

      Parameters:
      person - a consumer that will call methods on PersonDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: