Interface Emotion.Builder

    • Method Detail

      • type

        Emotion.Builder type​(String type)

        Type of emotion detected.

        Parameters:
        type - Type of emotion detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EmotionName, EmotionName
      • type

        Emotion.Builder type​(EmotionName type)

        Type of emotion detected.

        Parameters:
        type - Type of emotion detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EmotionName, EmotionName
      • confidence

        Emotion.Builder confidence​(Float confidence)

        Level of confidence in the determination.

        Parameters:
        confidence - Level of confidence in the determination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.