Package com.unblu.sdk.core.errortype
Enum Class SendMessageErrorType
- All Implemented Interfaces:
Serializable,Comparable<SendMessageErrorType>,Constable
Represents the error types shown when sending text or file-based messages via the API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA fatal internal error occurred in the native Android code.The upload of the file failed.The message data is invalid.No active conversation is available to send the message to.The Unblu client hasn't been initialized.An unexpected error occurred while attempting to open the conversation. -
Method Summary
Modifier and TypeMethodDescriptionstatic SendMessageErrorTypeReturns the enum constant of this class with the specified name.static SendMessageErrorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNBLU_CLIENT_NOT_INITIALIZED
The Unblu client hasn't been initialized. -
UNEXPECTED_EXECUTION_ERROR
An unexpected error occurred while attempting to open the conversation. -
FATAL_ERROR
A fatal internal error occurred in the native Android code. Check the message for more details. -
NO_ACTIVE_CONVERSATION
No active conversation is available to send the message to. -
INVALID_MESSAGE_DATA
The message data is invalid. -
FILE_UPLOAD_FAILED
The upload of the file failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-