Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public enum GzipStatics
  • Options for the order that determines which channel’s messages will be deleted.

    Since

    4.6.0
    See more

    Declaration

    Swift

    public enum CachedDataClearOrder: Int
  • Channel sources that represents where the channel object comes from.

    Since

    3.0.227
    See more

    Declaration

    Swift

    public enum CollectionEventSource: Int, Codable
  • The policy for the message collection initialization.

    Since

    3.0.227
    See more

    Declaration

    Swift

    public enum MessageCollectionInitPolicy: Int
  • The policy for the message collection initialization.

    Since

    4.6.0
    See more

    Declaration

    Swift

    public enum NotificationCollectionInitPolicy: Int
  • The review status information for messages that are changed via the rule engine. default is .none

    Since

    4.12.0
    See more

    Declaration

    Swift

    public enum MessageReviewStatus: Int
    extension MessageReviewStatus: RawRepresentable, Codable
  • Poll status

    Since

    4.1.0
    See more

    Declaration

    Swift

    public enum PollStatus: Int
    extension PollStatus: RawRepresentable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ScheduledStatus: Int
    extension ScheduledStatus: RawRepresentable, Codable
  • Chat Error code

    See more

    Declaration

    Swift

    public enum ChatError: Int, SBErrorCode
    extension ChatError: Decodable
  • Core error code

    See more

    Declaration

    Swift

    public enum CoreError: Int, SBErrorCode
  • Channel types.

    See more

    Declaration

    Swift

    public enum ChannelType: Int
    extension ChannelType: RawRepresentable, CustomStringConvertible, Codable
  • The order type for GroupChannelListQuery.

    See more

    Declaration

    Swift

    public enum GroupChannelListOrder: Int
    extension GroupChannelListOrder: RawRepresentable, Codable
  • Declaration

    Swift

    public enum PublicGroupChannelListOrder: Int
    extension PublicGroupChannelListOrder: RawRepresentable, Codable
  • The query type for GroupChannelListQuery.

    See more

    Declaration

    Swift

    public enum GroupChannelListQueryType: Int
    extension GroupChannelListQueryType: RawRepresentable, Codable
  • Channel filter for super mode in group channels.

    See more

    Declaration

    Swift

    public enum GroupChannelSuperChannelFilter: Int
    extension GroupChannelSuperChannelFilter: RawRepresentable, Codable
  • Filter public group channel or private one in group channels.

    See more

    Declaration

    Swift

    public enum GroupChannelPublicChannelFilter: Int
    extension GroupChannelPublicChannelFilter: RawRepresentable, Codable
  • Filter my channels or all ones in public group channels.

    See more

    Declaration

    Swift

    public enum PublicGroupChannelMembershipFilter: Int
    extension PublicGroupChannelMembershipFilter: RawRepresentable, Codable
  • Filter operators in group channels.

    See more

    Declaration

    Swift

    public enum GroupChannelOperatorFilter: Int
    extension GroupChannelOperatorFilter: RawRepresentable, Codable
  • Filter operators in group channels.

    See more

    Declaration

    Swift

    public enum GroupChannelMutedMemberFilter: Int
    extension GroupChannelMutedMemberFilter: RawRepresentable, Codable
  • The enum type to filter my group channels.

    Since

    3.0.113
    See more

    Declaration

    Swift

    public enum UnreadChannelFilter: Int
    extension UnreadChannelFilter: RawRepresentable, Codable
  • The enum type for the hidden state of a group channel.

    Since

    3.0.122
    See more

    Declaration

    Swift

    public enum GroupChannelHiddenState: Int
    extension GroupChannelHiddenState: RawRepresentable, Codable
  • The enum type to filter my group channels with the hidden state.

    Since

    3.0.122
    See more

    Declaration

    Swift

    public enum ChannelHiddenStateFilter: Int
    extension ChannelHiddenStateFilter: RawRepresentable, Codable
  • The options to choose which push notification for the current user to receive in a group channel.

    Since

    3.0.128
    See more

    Declaration

    Swift

    public enum GroupChannelPushTriggerOption: Int
    extension GroupChannelPushTriggerOption: RawRepresentable, Codable
  • Constants of type for device push token.

    Since

    3.0.134
    See more

    Declaration

    Swift

    public enum PushTokenType: Int
    extension PushTokenType: RawRepresentable, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ChannelMetaCountersUpdateMode: Int
    extension ChannelMetaCountersUpdateMode: RawRepresentable, Codable
  • Message type for filtering

    See more

    Declaration

    Swift

    public enum MessageTypeFilter: Int
  • The enum type to represent various kinds of counts.

    See more

    Declaration

    Swift

    public enum CountPreference: Int
    extension CountPreference: RawRepresentable, Codable
  • The enum type to represent target type of mention.

    See more

    Declaration

    Swift

    public enum MentionType: Int
    extension MentionType: RawRepresentable, Codable
  • Constants of type to describe message’s sending status.

    Since

    3.0.173
    See more

    Declaration

    Swift

    public enum MessageSendingStatus: Int
    extension MessageSendingStatus: Codable
    extension MessageSendingStatus: CustomDebugStringConvertible
  • The order type for MessageSearchQuery.

    Since

    3.0.162
    See more

    Declaration

    Swift

    public enum MessageSearchQueryOrder: Int
    extension MessageSearchQueryOrder: RawRepresentable, Codable
  • Reply type filter

    See more

    Declaration

    Swift

    public enum ReplyType: Int
    extension ReplyType: RawRepresentable, Codable
  • Push token registration statuses

    See more

    Declaration

    Swift

    public enum PushTokenRegistrationStatus: Int
  • The push option that determines how to deliver the push notification when sending a user or a file message.

    See more

    Declaration

    Swift

    public enum PushNotificationDeliveryOption: Int
    extension PushNotificationDeliveryOption: RawRepresentable, Codable
  • The options to choose which push notification for the current user to receive.

    Since

    3.0.128
    See more

    Declaration

    Swift

    public enum PushTriggerOption: Int
    extension PushTriggerOption: RawRepresentable, Codable
  • Connection state

    Since

    4.15.0
    See more

    Declaration

    Swift

    public enum InitializationState: Int
    extension InitializationState: CustomStringConvertible
  • Connection state

    See more

    Declaration

    Swift

    public enum WebSocketConnectionState: Int
  • User connection statuses for User.

    See more

    Declaration

    Swift

    public enum UserConnectionStatus: Int
    extension UserConnectionStatus: RawRepresentable, Codable
  • Categories of reporting reasons

    Since

    3.0.154
    See more

    Declaration

    Swift

    @available(*, deprecated, message: "This enum is deprecated with `ReportCategoryInfo` in 4.23.0.")
    public enum ReportCategory: Int
    extension ReportCategory: RawRepresentable, Codable
  • The ReactionEvent action state.

    Since

    3.0.169
    See more

    Declaration

    Swift

    public enum ReactionEventAction: Int
    extension ReactionEventAction: RawRepresentable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum LogLevel: Int, LogSymbol, Comparable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum UserListQueryType: Int

SB SDK User Agent

  • A list of Sendbird products that use Sendbird Chat.

    Since

    4.8.5
    See more

    Declaration

    Swift

    public enum __SendbirdProduct: String
  • A list of platforms that use Sendbird Chat.

    Since

    4.8.5
    See more

    Declaration

    Swift

    public enum __SendbirdPlatform: String
  • Member state filter for group channel list query and group channel count

    See more

    Declaration

    Swift

    public enum MemberStateFilter: Int
    extension MemberStateFilter: RawRepresentable, Codable
  • Member state filter for group channel list query and group channel count

    See more

    Declaration

    Swift

    public enum MyMemberStateFilter: Int
    extension MyMemberStateFilter: RawRepresentable, Codable
  • Member state in group channel.

    See more

    Declaration

    Swift

    public enum MemberState: Int
    extension MemberState: RawRepresentable, Codable
  • The users’s role which gives different behaviors, permisions to user.

    See more

    Declaration

    Swift

    public enum Role: Int
    extension Role: RawRepresentable, Codable
  • The current user’s muted state type.

    See more

    Declaration

    Swift

    public enum MutedState: Int
  • The order type for member list query.

    Since

    3.0.198
    See more

    Declaration

    Swift

    public enum MemberListOrder: Int
    extension MemberListOrder: RawRepresentable, Codable
  • Restriction type for restrictedUser

    Since

    3.0.236
    See more

    Declaration

    Swift

    public enum RestrictionType: Int, RawRepresentable, Codable
  • The enum type to represent the status of th notification message.

    Since

    4.13.0
    See more

    Declaration

    Swift

    public enum NotificationMessageStatus: Int
    extension NotificationMessageStatus: RawRepresentable, CustomStringConvertible, Codable
  • Priority of the notification message

    Since

    4.16.0
    See more

    Declaration

    Swift

    public enum NotificationPriority: Int
    extension NotificationPriority: RawRepresentable, CustomStringConvertible, Codable
  • The order type for ScheduledMessageListQuery.

    Since

    4.0.0
    See more

    Declaration

    Swift

    public enum ScheduledMessageListOrder: Int
  • Undocumented

    See more

    Declaration

    Swift

    public enum CloseCode : UInt16
  • Undocumented

    See more

    Declaration

    Swift

    public enum ErrorType: Error