Class CommunicationMessageKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CommunicationMessageKind>
com.azure.communication.messages.models.CommunicationMessageKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class CommunicationMessageKind
extends com.azure.core.util.ExpandableStringEnum<CommunicationMessageKind>
The type of message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CommunicationMessageKind
Audio message type.static final CommunicationMessageKind
Document message type.static final CommunicationMessageKind
Image message type.static final CommunicationMessageKind
Deprecated.Legacy image type for `MediaNotificationContent` which is being deprecated.static final CommunicationMessageKind
Template message type.static final CommunicationMessageKind
Text message type.static final CommunicationMessageKind
Video message type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommunicationMessageKind
fromString
(String name) Creates or finds a CommunicationMessageKind from its string representation.static Collection
<CommunicationMessageKind> values()
Gets known CommunicationMessageKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
TEXT
Text message type. -
IMAGE
Image message type. -
TEMPLATE
Template message type. -
DOCUMENT
Document message type. -
VIDEO
Video message type. -
AUDIO
Audio message type. -
IMAGE_V0
Deprecated.Legacy image type for `MediaNotificationContent` which is being deprecated.
-
-
Constructor Details
-
CommunicationMessageKind
Deprecated.Use thefromString(String)
factory method.Creates a new instance of CommunicationMessageKind value.
-
-
Method Details
-
fromString
Creates or finds a CommunicationMessageKind from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding CommunicationMessageKind.
-
values
Gets known CommunicationMessageKind values.- Returns:
- known CommunicationMessageKind values.
-