public final class DigitCollectorOperationCause extends Enum
Enumeration of reasons with which collect operation can get completed.
Whether a collect operation completes with NUMBER_OF_DIGITS, TERMINATION_KEY, TIMEOUT, STOPPED or FAILED when invokingMediaService.collect(Participant participant, DigitOptions digitOptions, MediaListener mediaListener)
.MediaService
,
Serialized FormModifier and Type | Field and Description |
---|---|
static DigitCollectorOperationCause |
FAILED
If the digit collection failed before any completion criteria was met.
|
static DigitCollectorOperationCause |
NUMBER_OF_DIGITS
If the collection ended and the number of digits is met.
|
static DigitCollectorOperationCause |
STOPPED
The digit collection operation was stopped explicitly by the client
service invoking
MediaService.stop(Participant, java.util.UUID) |
static DigitCollectorOperationCause |
TERMINATION_KEY
If the collection ended and the termination key was met.
|
static DigitCollectorOperationCause |
TIMEOUT
If the collection completes and there was no DTMF entered i.e.
|
Modifier and Type | Method and Description |
---|---|
static DigitCollectorOperationCause |
valueOf(String name) |
static DigitCollectorOperationCause[] |
values() |
public static final DigitCollectorOperationCause NUMBER_OF_DIGITS
public static final DigitCollectorOperationCause TERMINATION_KEY
public static final DigitCollectorOperationCause TIMEOUT
public static final DigitCollectorOperationCause STOPPED
MediaService.stop(Participant, java.util.UUID)
public static final DigitCollectorOperationCause FAILED
public static DigitCollectorOperationCause[] values()
public static DigitCollectorOperationCause valueOf(String name)
Copyright © 2023 Avaya. All rights reserved.