Enum 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 enum streamlayer.sdkSettings.GetStreamChannelType
    • 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;
    • 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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<GetStreamChannelType> internalGetValueMap()
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()