public enum ReturnCode extends Enum<ReturnCode>
Two ranges are defined:
100-199: successful completion
300-399: error
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static ReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnCode SUCCESS
public static final ReturnCode UNSPECIFIED_FAILURE
public static final ReturnCode BAD_AUDIO_ID
public static final ReturnCode BAD_SELECTOR_TYPE
public static final ReturnCode BAD_SELECTOR_VALUE
public static final ReturnCode VARIABLE_TYPE_NOT_SUPPORTED
public static final ReturnCode VARIABLE_SUBTYPE_NOT_SUPPORTED
public static final ReturnCode INVALID_VARIABLE_NAME
public static final ReturnCode VARIABLE_VALUE_OUT_OF_RANGE
public static final ReturnCode INCONSISTENT_VARIABLE_SPECIFICATION
public static final ReturnCode ALIAS_NOT_FOUND
public static final ReturnCode EXTRA_SEQUENCE_DATA
public static final ReturnCode MISSING_SEQUENCE_DATA
public static final ReturnCode MISMATCH_BETWEEN_PLAY_SPECIFICATION_AND_PROVISIONED_DATA
public static final ReturnCode LANGUAGE_NOT_SET
public static final ReturnCode REMOVE_OVERRIDE_ERROR
public static final ReturnCode OVERRIDE_ERROR
public static final ReturnCode DELETE_AUDIO_ERROR
public static final ReturnCode UNABLE_TO_RECORD_TEMPORARY_AUDIO
public static final ReturnCode UNABLE_TO_DELETE_TEMPORARY_AUDIO
public static final ReturnCode UNABLE_TO_RECORD_PERSISTENT_AUDIO
public static final ReturnCode UNABLE_TO_DELETE_PERSISTENT_AUDIO
public static final ReturnCode UNABLE_TO_OVERRIDE_NON_EXISTENT_SEGMENT_ID
public static final ReturnCode UNABLE_TO_REMOVE_OVERRIDE_FROM_NON_EXISTENT_SEGMENT_ID
public static final ReturnCode PROVISIONING_ERROR
public static final ReturnCode UNSPECIFIED_HARDWARE_FAILURE
public static final ReturnCode SYNTAX_ERROR
public static final ReturnCode NO_DIGITS
public static final ReturnCode NO_SPEECH
public static final ReturnCode SPOKE_TOO_LONG
public static final ReturnCode DIGIT_PATTERN_NOT_MATCHED
public static final ReturnCode MAX_ATTEMPTS_EXCEEDED
public static ReturnCode[] values()
for (ReturnCode c : ReturnCode.values()) System.out.println(c);
public static ReturnCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int code()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.