Interface CallAnalyticsItem.Builder

    • Method Detail

      • beginOffsetMillis

        CallAnalyticsItem.Builder beginOffsetMillis​(Long beginOffsetMillis)

        The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.

        Parameters:
        beginOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endOffsetMillis

        CallAnalyticsItem.Builder endOffsetMillis​(Long endOffsetMillis)

        The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.

        Parameters:
        endOffsetMillis - The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        CallAnalyticsItem.Builder type​(String type)

        The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

        Parameters:
        type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ItemType, ItemType
      • type

        CallAnalyticsItem.Builder type​(ItemType type)

        The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

        Parameters:
        type - The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ItemType, ItemType
      • content

        CallAnalyticsItem.Builder content​(String content)

        The word or punctuation that was transcribed.

        Parameters:
        content - The word or punctuation that was transcribed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        CallAnalyticsItem.Builder confidence​(Double confidence)

        The confidence score associated with a word or phrase in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

        Parameters:
        confidence - The confidence score associated with a word or phrase in your transcript.

        Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vocabularyFilterMatch

        CallAnalyticsItem.Builder vocabularyFilterMatch​(Boolean vocabularyFilterMatch)

        Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics request. If true, there is a vocabulary filter match.

        Parameters:
        vocabularyFilterMatch - Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics request. If true, there is a vocabulary filter match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stable

        CallAnalyticsItem.Builder stable​(Boolean stable)

        If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false).

        Parameters:
        stable - If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false).
        Returns:
        Returns a reference to this object so that method calls can be chained together.