constant/enums library
Enums
- ChannelEventCategory
- Represents channel event that comes from socket
- ChannelHiddenStateFilter
- Represents a filter for channel's visibility state
- ChannelQueryIncludeOption
- Represents option to filter channel
- ChannelType
- Represents the type of channel
- ConnectionEventType
- Represents sdk's connection event
- ConnectionState
- Represents sdk's connection status
- CountPreference
- Represents user's message count filter
- GroupChannelHiddenState
- Represents channel's visibility state
- GroupChannelListOrder
- Represents result order of group channel query
- GroupChannelListQuerySearchField
- Represents group channel search field
- GroupChannelListQueryType
- Defines query operational type
- GroupChannelPushTriggerOption
- Represents push trigger option for a group channel
- LogLevel
- Defines levels of logging level
- MemberListOrder
- MemberState
- Represents member state for user in a channel
- MemberStateFilter
- Represents a filter for member state
- MentionType
- Represents message's mention type
- MessageQueryIncludeOption
- MessageSearchQueryOrder
- Represents result order for message search
- MessageSendingStatus
- Represents message's sending status
- MessageType
- Represents message type
- MessageTypeFilter
- Represents a filter for message type
- MetaArrayUpdateMode
- Represents meta array update mode
- MetaCounterMode
- Represents meta counter operation mode
- MutedMemberFilter
- MuteState
- Represents user's mute state in a channel
- OperatorFilter
- PollStatus
- Represents poll status
- PublicChannelFilter
- Represents a filter for group channel visibilty
- PublicGroupChannelListOrder
- Represents result order of public group channel query
- PublicGroupChannelMembershipFilter
- Represents a filter for public group channel member state
- PushNotificationDeliveryOption
- Represents push notification delivery option
- PushTokenRegistrationStatus
- Represents push registration status
- PushTokenType
- Represents push token type
- PushTriggerOption
- Represents global push trigger option
- ReactionEventAction
- Represents reaction's operation event
- ReplyType
- Represents message's reply type
- ReportCategory
- Defines reporting category
- RestrictionType
- Role
- Represents role for user in a channel
- ScheduledMessageListOrder
- Represnts Ordering of Scheduled Message List
- ScheduledStatus
- Represents Scheduled Status
- ScheduledUserMessageStatus
- Represents scheduled user message status
- SuperChannelFilter
- Represents a filter for super group channel
- UnreadChannelFilter
- Represents a filter for unread channel
- UnreadItemKey
- Represents unread item key filter
- UserConnectionStatus
- UserEventCategory
- Represents user event that comes from socket
- UserListQueryType
- Represents a filter for user list query
Extensions
Constants
-
countPreferenceEnumMap
→ const Map<
CountPreference, String> -
groupChannelListOrderEnumMap
→ const Map<
GroupChannelListOrder, String> -
groupChannelListQuerySearchFieldEnumMap
→ const Map<
GroupChannelListQuerySearchField, String> -
groupChannelPublicFilterEnumMap
→ const Map<
PublicChannelFilter, String> -
groupChannelPushTriggerOptionEnumMap
→ const Map<
GroupChannelPushTriggerOption, String> -
memberListOrderEnumMap
→ const Map<
MemberListOrder, String> -
messageSearchQueryOrderEnumMap
→ const Map<
MessageSearchQueryOrder, String> -
messageTypeEnumMap
→ const Map<
MessageType, String> -
messageTypeFilterEnumMap
→ const Map<
MessageTypeFilter, String> -
mutedMemberFilterEnumMap
→ const Map<
MutedMemberFilter, String> -
operatorFilterEnumMap
→ const Map<
OperatorFilter, String> -
publicGroupChannelListOrderEnumMap
→ const Map<
PublicGroupChannelListOrder, String> -
pushTriggerOptionEnumMap
→ const Map<
PushTriggerOption, String> -
scheduledMessageListOrderEnumMap
→ const Map<
ScheduledMessageListOrder, String> -
unreadItemKeyEnumMap
→ const Map<
UnreadItemKey, String>
Functions
-
channelEventValueOf(
int value) → ChannelEventCategory -
enumDecode<
T> (Map< T, dynamic> enumValues, dynamic source, {required T unknownValue}) → T -
groupChannelSuperFilterEnum(
SuperChannelFilter filter) → String -
memberStateFilterEnumForGroupCount(
MemberStateFilter filter) → String -
memberStateFilterEnumForQuery(
MemberStateFilter filter) → String -
pushTokenToString(
PushTokenType type) → String? -
stringFromSearchFields(
List< GroupChannelListQuerySearchField> fields) → List<String> -
userEventValueOf(
int value) → UserEventCategory