public static interface InterruptionFilter.Builder extends SdkPojo, CopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
| Modifier and Type | Method and Description |
|---|---|
InterruptionFilter.Builder |
absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an
interruption.
|
default InterruptionFilter.Builder |
absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an
interruption.
|
InterruptionFilter.Builder |
negate(Boolean negate)
Set to
TRUE to flag speech that does not contain interruptions. |
InterruptionFilter.Builder |
participantRole(ParticipantRole participantRole)
Specify the interrupter you want to flag.
|
InterruptionFilter.Builder |
participantRole(String participantRole)
Specify the interrupter you want to flag.
|
default InterruptionFilter.Builder |
relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an
interruption.
|
InterruptionFilter.Builder |
relativeTimeRange(RelativeTimeRange relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an
interruption.
|
InterruptionFilter.Builder |
threshold(Long threshold)
Specify the duration of the interruptions in milliseconds.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInterruptionFilter.Builder threshold(Long threshold)
Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10000 milliseconds of interruptions.
threshold - Specify the duration of the interruptions in milliseconds. For example, you can flag speech that
contains more than 10000 milliseconds of interruptions.InterruptionFilter.Builder participantRole(String participantRole)
Specify the interrupter you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the interrupter you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole,
ParticipantRoleInterruptionFilter.Builder participantRole(ParticipantRole participantRole)
Specify the interrupter you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the interrupter you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole,
ParticipantRoleInterruptionFilter.Builder absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. See for more detail.
absoluteTimeRange - Allows you to specify a time range (in milliseconds) in your audio, during which you want to search
for an interruption. See for more detail.default InterruptionFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. See for more detail.
This is a convenience method that creates an instance of theAbsoluteTimeRange.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).absoluteTimeRange - a consumer that will call methods on AbsoluteTimeRange.BuilderabsoluteTimeRange(AbsoluteTimeRange)InterruptionFilter.Builder relativeTimeRange(RelativeTimeRange relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an interruption. See for more detail.
relativeTimeRange - Allows you to specify a time range (in percentage) in your media file, during which you want to search
for an interruption. See for more detail.default InterruptionFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an interruption. See for more detail.
This is a convenience method that creates an instance of theRelativeTimeRange.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).relativeTimeRange - a consumer that will call methods on RelativeTimeRange.BuilderrelativeTimeRange(RelativeTimeRange)InterruptionFilter.Builder negate(Boolean negate)
Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to
flag speech that contains interruptions.
negate - Set to TRUE to flag speech that does not contain interruptions. Set to FALSE
to flag speech that contains interruptions.Copyright © 2022. All rights reserved.