Enum MessagesService.MessageSource
java.lang.Object
java.lang.Enum<MessagesService.MessageSource>
com.sinch.sdk.domains.conversation.api.v1.MessagesService.MessageSource
- All Implemented Interfaces:
Serializable
,Comparable<MessagesService.MessageSource>
- Enclosing interface:
MessagesService
Specifies the message source for which the request will be processed. Used for operations on
messages in Dispatch Mode
-
Enum Constant Summary
Enum ConstantDescriptionThe default messages source.Retrieves messages sent in theDISPATCH
processing mode. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static MessagesService.MessageSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONVERSATION_SOURCE
The default messages source. Retrieves messages sent in the defaultCONVERSATION
processing mode, which associates the messages with a specific conversation and contact. -
DISPATCH_SOURCE
Retrieves messages sent in theDISPATCH
processing mode. These types of messages are not associated with any conversation or contact.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-