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

public static enum MessagesService.MessageSource extends Enum<MessagesService.MessageSource>
Specifies the message source for which the request will be processed. Used for operations on messages in Dispatch Mode
  • Enum Constant Details

    • CONVERSATION_SOURCE

      public static final MessagesService.MessageSource CONVERSATION_SOURCE
      The default messages source. Retrieves messages sent in the default CONVERSATION processing mode, which associates the messages with a specific conversation and contact.
    • DISPATCH_SOURCE

      public static final MessagesService.MessageSource DISPATCH_SOURCE
      Retrieves messages sent in the DISPATCH processing mode. These types of messages are not associated with any conversation or contact.
  • Method Details

    • values

      public static MessagesService.MessageSource[] 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

      public static MessagesService.MessageSource valueOf(String name)
      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 name
      NullPointerException - if the argument is null