Interface FaceDetection.Builder

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

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

    • timestamp

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

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

      The face properties for the detected face.

      Parameters:
      face - The face properties for the detected face.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • face

      The face properties for the detected face.

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

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