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

    @objc(SBDCachedDataClearOrder)
    public enum CachedDataClearOrder : Int
  • Channel sources that represents where the channel object comes from.

    Since

    3.0.227
    See more

    Declaration

    Swift

    @objc(SBDCollectionEventSource)
    public enum CollectionEventSource : Int, Codable
  • The policy for the message collection initialization.

    Since

    3.0.227
    See more

    Declaration

    Swift

    @objc(SBDMessageCollectionInitPolicy)
    public enum MessageCollectionInitPolicy : Int
  • The policy for the message collection initialization.

    Since

    4.6.0
    See more

    Declaration

    Swift

    @objc(SBDNotificationCollectionInitPolicy)
    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

    @objc(SBDMessageReviewStatus)
    public enum MessageReviewStatus : Int
    extension MessageReviewStatus: RawRepresentable, Codable
  • Poll status

    Since

    4.1.0
    See more

    Declaration

    Swift

    @objc(SBDPollStatus)
    public enum PollStatus : Int
    extension PollStatus: RawRepresentable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    @objc(SBDScheduledStatus)
    public enum ScheduledStatus : Int
    extension ScheduledStatus: RawRepresentable, Codable
  • Chat Error code

    See more

    Declaration

    Swift

    @objc(SBChatError)
    public enum ChatError : Int, SBErrorCode
    extension ChatError: Decodable
  • Core error code

    See more

    Declaration

    Swift

    @objc(SBCoreError)
    public enum CoreError : Int, SBErrorCode
  • Channel types.

    See more

    Declaration

    Swift

    @objc(SBDChannelType)
    public enum ChannelType : Int
    extension ChannelType: RawRepresentable, CustomStringConvertible, Codable
  • The order type for GroupChannelListQuery.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelListOrder)
    public enum GroupChannelListOrder : Int
    extension GroupChannelListOrder: RawRepresentable, Codable
  • Declaration

    Swift

    @objc(SBDPublicGroupChannelListOrder)
    public enum PublicGroupChannelListOrder : Int
    extension PublicGroupChannelListOrder: RawRepresentable, Codable
  • The query type for GroupChannelListQuery.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelListQueryType)
    public enum GroupChannelListQueryType : Int
    extension GroupChannelListQueryType: RawRepresentable, Codable
  • Channel filter for super mode in group channels.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelSuperChannelFilter)
    public enum GroupChannelSuperChannelFilter : Int
    extension GroupChannelSuperChannelFilter: RawRepresentable, Codable
  • Filter public group channel or private one in group channels.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelPublicChannelFilter)
    public enum GroupChannelPublicChannelFilter : Int
    extension GroupChannelPublicChannelFilter: RawRepresentable, Codable
  • Filter my channels or all ones in public group channels.

    See more

    Declaration

    Swift

    @objc(SBDPublicGroupChannelMembershipFilter)
    public enum PublicGroupChannelMembershipFilter : Int
    extension PublicGroupChannelMembershipFilter: RawRepresentable, Codable
  • Filter operators in group channels.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelOperatorFilter)
    public enum GroupChannelOperatorFilter : Int
    extension GroupChannelOperatorFilter: RawRepresentable, Codable
  • Filter operators in group channels.

    See more

    Declaration

    Swift

    @objc(SBDGroupChannelMutedMemberFilter)
    public enum GroupChannelMutedMemberFilter : Int
    extension GroupChannelMutedMemberFilter: RawRepresentable, Codable
  • The enum type to filter my group channels.

    Since

    3.0.113
    See more

    Declaration

    Swift

    @objc(SBDUnreadChannelFilter)
    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

    @objc(SBDGroupChannelHiddenState)
    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

    @objc(SBDChannelHiddenStateFilter)
    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

    @objc(SBDGroupChannelPushTriggerOption)
    public enum GroupChannelPushTriggerOption : Int
    extension GroupChannelPushTriggerOption: RawRepresentable, Codable
  • Constants of type for device push token.

    Since

    3.0.134
    See more

    Declaration

    Swift

    @objc(SBDPushTokenType)
    public enum PushTokenType : Int
    extension PushTokenType: RawRepresentable, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    @objc(SBDChannelMetaCountersUpdateMode)
    public enum ChannelMetaCountersUpdateMode : Int
    extension ChannelMetaCountersUpdateMode: RawRepresentable, Codable
  • Message type for filtering

    See more

    Declaration

    Swift

    @objc(SBDMessageTypeFilter)
    public enum MessageTypeFilter : Int
  • The enum type to represent various kinds of counts.

    See more

    Declaration

    Swift

    @objc(SBDCountPreference)
    public enum CountPreference : Int
    extension CountPreference: RawRepresentable, Codable
  • The enum type to represent target type of mention.

    See more

    Declaration

    Swift

    @objc(SBDMentionType)
    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

    @objc(SBDMessageSendingStatus)
    public enum MessageSendingStatus : Int
    extension MessageSendingStatus: Codable
    extension MessageSendingStatus: CustomDebugStringConvertible
  • The order type for MessageSearchQuery.

    Since

    3.0.162
    See more

    Declaration

    Swift

    @objc(SBDMessageSearchQueryOrder)
    public enum MessageSearchQueryOrder : Int
    extension MessageSearchQueryOrder: RawRepresentable, Codable
  • Reply type filter

    See more

    Declaration

    Swift

    @objc(SBDReplyType)
    public enum ReplyType : Int
    extension ReplyType: RawRepresentable, Codable
  • Push token registration statuses

    See more

    Declaration

    Swift

    @objc(SBDPushTokenRegistrationStatus)
    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

    @objc(SBDPushNotificationDeliveryOption)
    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

    @objc(SBDPushTriggerOption)
    public enum PushTriggerOption : Int
    extension PushTriggerOption: RawRepresentable, Codable
  • Connection state

    Since

    4.15.0
    See more

    Declaration

    Swift

    @objc(SBDInitializationState)
    public enum InitializationState : Int
    extension InitializationState: CustomStringConvertible
  • Connection state

    See more

    Declaration

    Swift

    @objc(SBDWebSocketConnectionState)
    public enum WebSocketConnectionState : Int
  • User connection statuses for User.

    See more

    Declaration

    Swift

    @objc(SBDUserConnectionStatus)
    public enum UserConnectionStatus : Int
    extension UserConnectionStatus: RawRepresentable, Codable
  • Categories of reporting reasons

    Since

    3.0.154
    See more

    Declaration

    Swift

    @objc(SBDReportCategory)
    public enum ReportCategory : Int
    extension ReportCategory: RawRepresentable, Codable
  • The ReactionEvent action state.

    Since

    3.0.169
    See more

    Declaration

    Swift

    @objc(SBDReactionEventAction)
    public enum ReactionEventAction : Int
    extension ReactionEventAction: RawRepresentable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    @objc(SBDLogLevel)
    public enum LogLevel : Int, LogSymbol, Comparable, Codable
  • Undocumented

    See more

    Declaration

    Swift

    @objc(SBDUserListQueryType)
    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

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

    See more

    Declaration

    Swift

    @objc(SBDMyMemberStateFilter)
    public enum MyMemberStateFilter : Int
    extension MyMemberStateFilter: RawRepresentable, Codable
  • Member state in group channel.

    See more

    Declaration

    Swift

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

    See more

    Declaration

    Swift

    @objc(SBDRole)
    public enum Role : Int
    extension Role: RawRepresentable, Codable
  • The current user’s muted state type.

    See more

    Declaration

    Swift

    @objc(SBDMutedState)
    public enum MutedState : Int
  • The order type for member list query.

    Since

    3.0.198
    See more

    Declaration

    Swift

    @objc(SBDMemberListOrder)
    public enum MemberListOrder : Int
    extension MemberListOrder: RawRepresentable, Codable
  • Restriction type for restrictedUser

    Since

    3.0.236
    See more

    Declaration

    Swift

    @objc(SBDRestrictionType)
    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

    @objc(SBDNotificationMessageStatus)
    public enum NotificationMessageStatus : Int
    extension NotificationMessageStatus: RawRepresentable, CustomStringConvertible, Codable
  • Priority of the notification message

    Since

    4.16.0
    See more

    Declaration

    Swift

    @objc(SBDNotificationPriority)
    public enum NotificationPriority : Int
    extension NotificationPriority: RawRepresentable, CustomStringConvertible, Codable
  • The order type for ScheduledMessageListQuery.

    Since

    4.0.0
    See more

    Declaration

    Swift

    @objc(SBDScheduledMessageListOrder)
    public enum ScheduledMessageListOrder : Int
  • Undocumented

    See more

    Declaration

    Swift

    public enum CloseCode : UInt16
  • Undocumented

    See more

    Declaration

    Swift

    public enum ErrorType : Error