Interface NonTalkTimeFilter.Builder

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

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

    • threshold

      NonTalkTimeFilter.Builder threshold(Long threshold)

      Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.

      Parameters:
      threshold - Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • absoluteTimeRange

      NonTalkTimeFilter.Builder absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)

      Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.

      Parameters:
      absoluteTimeRange - Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • absoluteTimeRange

      default NonTalkTimeFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)

      Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.

      This is a convenience method that creates an instance of the AbsoluteTimeRange.Builder avoiding the need to create one manually via AbsoluteTimeRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to absoluteTimeRange(AbsoluteTimeRange).

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

      NonTalkTimeFilter.Builder relativeTimeRange(RelativeTimeRange relativeTimeRange)

      Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.

      Parameters:
      relativeTimeRange - Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relativeTimeRange

      default NonTalkTimeFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)

      Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.

      This is a convenience method that creates an instance of the RelativeTimeRange.Builder avoiding the need to create one manually via RelativeTimeRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to relativeTimeRange(RelativeTimeRange).

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

      Set to TRUE to flag periods of speech. Set to FALSE to flag periods of silence

      Parameters:
      negate - Set to TRUE to flag periods of speech. Set to FALSE to flag periods of silence
      Returns:
      Returns a reference to this object so that method calls can be chained together.