public static enum BaseChannel.ChannelType extends java.lang.Enum<BaseChannel.ChannelType>
OPEN for OpenChannel and GROUP for GroupChannel.| Modifier and Type | Method and Description |
|---|---|
static BaseChannel.ChannelType |
fromValue(java.lang.String value) |
java.lang.String |
value() |
static BaseChannel.ChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseChannel.ChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseChannel.ChannelType OPEN
public static final BaseChannel.ChannelType GROUP
public static BaseChannel.ChannelType[] values()
for (BaseChannel.ChannelType c : BaseChannel.ChannelType.values()) System.out.println(c);
public static BaseChannel.ChannelType 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 static BaseChannel.ChannelType fromValue(java.lang.String value)
public java.lang.String value()
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.