Enum GetStreamChannelType
- java.lang.Object
-
- java.lang.Enum<GetStreamChannelType>
-
- com.streamlayer.sdkSettings.common.GetStreamChannelType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<GetStreamChannelType>
public enum GetStreamChannelType extends java.lang.Enum<GetStreamChannelType> implements com.google.protobuf.Internal.EnumLite
Protobuf enumstreamlayer.sdkSettings.GetStreamChannelType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GETSTREAM_CHANNEL_TYPE_COMMERCECommerce: Good defaults for building something like your own version of Intercom or Drift.GETSTREAM_CHANNEL_TYPE_CUSTOMfor future useGETSTREAM_CHANNEL_TYPE_GAMINGGaming: Defaults for adding chat to video games.GETSTREAM_CHANNEL_TYPE_LIVESTREAMLivestream: Sensible defaults in case you want to build chat like YouTube or Twitch.GETSTREAM_CHANNEL_TYPE_MESSAGINGMessaging: Configured for apps such as WhatsApp or Facebook Messenger.GETSTREAM_CHANNEL_TYPE_TEAMTeam: If you want to build your own version of Slack or something similar, start here.GETSTREAM_CHANNEL_TYPE_UNSETGETSTREAM_CHANNEL_TYPE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intGETSTREAM_CHANNEL_TYPE_COMMERCE_VALUECommerce: Good defaults for building something like your own version of Intercom or Drift.static intGETSTREAM_CHANNEL_TYPE_CUSTOM_VALUEfor future usestatic intGETSTREAM_CHANNEL_TYPE_GAMING_VALUEGaming: Defaults for adding chat to video games.static intGETSTREAM_CHANNEL_TYPE_LIVESTREAM_VALUELivestream: Sensible defaults in case you want to build chat like YouTube or Twitch.static intGETSTREAM_CHANNEL_TYPE_MESSAGING_VALUEMessaging: Configured for apps such as WhatsApp or Facebook Messenger.static intGETSTREAM_CHANNEL_TYPE_TEAM_VALUETeam: If you want to build your own version of Slack or something similar, start here.static intGETSTREAM_CHANNEL_TYPE_UNSET_VALUEGETSTREAM_CHANNEL_TYPE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GetStreamChannelTypeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<GetStreamChannelType>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static GetStreamChannelTypevalueOf(int value)Deprecated.static GetStreamChannelTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GetStreamChannelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GETSTREAM_CHANNEL_TYPE_UNSET
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_UNSET
GETSTREAM_CHANNEL_TYPE_UNSET = 0;
-
GETSTREAM_CHANNEL_TYPE_LIVESTREAM
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_LIVESTREAM
Livestream: Sensible defaults in case you want to build chat like YouTube or Twitch.
GETSTREAM_CHANNEL_TYPE_LIVESTREAM = 1;
-
GETSTREAM_CHANNEL_TYPE_MESSAGING
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_MESSAGING
Messaging: Configured for apps such as WhatsApp or Facebook Messenger.
GETSTREAM_CHANNEL_TYPE_MESSAGING = 2;
-
GETSTREAM_CHANNEL_TYPE_TEAM
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_TEAM
Team: If you want to build your own version of Slack or something similar, start here.
GETSTREAM_CHANNEL_TYPE_TEAM = 3;
-
GETSTREAM_CHANNEL_TYPE_COMMERCE
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_COMMERCE
Commerce: Good defaults for building something like your own version of Intercom or Drift.
GETSTREAM_CHANNEL_TYPE_COMMERCE = 4;
-
GETSTREAM_CHANNEL_TYPE_GAMING
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_GAMING
Gaming: Defaults for adding chat to video games.
GETSTREAM_CHANNEL_TYPE_GAMING = 5;
-
GETSTREAM_CHANNEL_TYPE_CUSTOM
public static final GetStreamChannelType GETSTREAM_CHANNEL_TYPE_CUSTOM
for future use
GETSTREAM_CHANNEL_TYPE_CUSTOM = 6;
-
UNRECOGNIZED
public static final GetStreamChannelType UNRECOGNIZED
-
-
Field Detail
-
GETSTREAM_CHANNEL_TYPE_UNSET_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_UNSET_VALUE
GETSTREAM_CHANNEL_TYPE_UNSET = 0;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_LIVESTREAM_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_LIVESTREAM_VALUE
Livestream: Sensible defaults in case you want to build chat like YouTube or Twitch.
GETSTREAM_CHANNEL_TYPE_LIVESTREAM = 1;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_MESSAGING_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_MESSAGING_VALUE
Messaging: Configured for apps such as WhatsApp or Facebook Messenger.
GETSTREAM_CHANNEL_TYPE_MESSAGING = 2;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_TEAM_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_TEAM_VALUE
Team: If you want to build your own version of Slack or something similar, start here.
GETSTREAM_CHANNEL_TYPE_TEAM = 3;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_COMMERCE_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_COMMERCE_VALUE
Commerce: Good defaults for building something like your own version of Intercom or Drift.
GETSTREAM_CHANNEL_TYPE_COMMERCE = 4;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_GAMING_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_GAMING_VALUE
Gaming: Defaults for adding chat to video games.
GETSTREAM_CHANNEL_TYPE_GAMING = 5;- See Also:
- Constant Field Values
-
GETSTREAM_CHANNEL_TYPE_CUSTOM_VALUE
public static final int GETSTREAM_CHANNEL_TYPE_CUSTOM_VALUE
for future use
GETSTREAM_CHANNEL_TYPE_CUSTOM = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GetStreamChannelType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GetStreamChannelType c : GetStreamChannelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetStreamChannelType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static GetStreamChannelType valueOf(int value)
Deprecated.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:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static GetStreamChannelType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GetStreamChannelType> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-