Interface CelebrityRecognition.Builder

  • Method Details

    • timestamp

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

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

      Information about a recognized celebrity.

      Parameters:
      celebrity - Information about a recognized celebrity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • celebrity

      Information about a recognized celebrity.

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

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