public enum ChatServiceVersion extends java.lang.Enum<ChatServiceVersion> implements com.azure.android.core.util.ServiceVersion
| Enum Constant and Description |
|---|
V2021_03_07 |
V2021_09_07 |
| Modifier and Type | Method and Description |
|---|---|
static ChatServiceVersion |
getLatest()
Gets the latest service version supported by this client library.
|
java.lang.String |
getVersion() |
static ChatServiceVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatServiceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatServiceVersion V2021_03_07
public static final ChatServiceVersion V2021_09_07
public static ChatServiceVersion[] values()
for (ChatServiceVersion c : ChatServiceVersion.values()) System.out.println(c);
public static ChatServiceVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getVersion()
getVersion in interface com.azure.android.core.util.ServiceVersionpublic static ChatServiceVersion getLatest()
ChatServiceVersion