public enum ChannelSource extends java.lang.Enum<ChannelSource>
| Enum Constant and Description |
|---|
Chat
Enumeration : Chat
|
Other
Enumeration : Other
|
Phone
Enumeration : Phone
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.String> |
valuesToEnums |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static ChannelSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChannelSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelSource Other
public static final ChannelSource Phone
public static final ChannelSource Chat
public static java.util.Map<java.lang.String,java.lang.String> valuesToEnums
public static ChannelSource[] values()
for (ChannelSource c : ChannelSource.values()) System.out.println(c);
public static ChannelSource 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 toString()
toString in class java.lang.Enum<ChannelSource>Copyright © 2020. All Rights Reserved.