Package io.getstream.chat.android.models
See: Description
-
Class Summary Class Description AgoraChannel Represents Agora channel information that contains available channel in a chat channel. AppSettings App settings, as they are configured in the dashboard. App The representation of the app, with its configurations. FileUploadConfig The configuration of file upload. InProgress State representing attachment upload progress. Failed State indicating that the attachment upload failed. UploadState Represents various states in attachment upload lifecycle. Builder Attachment Represents an attachment. BannedUser Model holding data related to a banned user. BannedUsersSort Sorter for banned users which takes into consideration the Date when the user was banned. Builder Channel Channel is where conversations take place between two or more chat users. ChannelConfig Configuration of a channel. ChannelData A class that only stores the channel data and not the channel state that changes a lot (for example messages, watchers, etc.). ChannelInfo A Channel object that contains less information. ChannelMute Represents a channel mute. ChannelUserRead Information about how many messages are unread in the channel by a given user. Command Config Model representing the configuration of a channel. ConnectionData Model holding data about the SDK connection. ConnectionState Represents possible states of the WebSocket connection. Device Device's information needed to register push notifications. Builder DraftMessage Model holding data about a draft message. DraftsSort Sorter for draft messages which takes into consideration the Date when the message was created. FilterObject Filter object that specifies requests for backend queries. NotInFilterObject AndFilterObject OrFilterObject NorFilterObject ContainsFilterObject AutocompleteFilterObject ExistsFilterObject NotExistsFilterObject EqualsFilterObject NotEqualsFilterObject GreaterThanFilterObject GreaterThanOrEqualsFilterObject LessThanFilterObject LessThanOrEqualsFilterObject InFilterObject DistinctFilterObject Flag Model holding data about a user flag. GuestUser Model holding data about a guest user. HMSRoom Represents HMS room information that contains available room in a chat channel. LinkPreview A data class that represents a link preview. Member Represents a channel member. MemberData Model holding data about a member. Builder Message Model holding data about a message. MessageModerationDetails Describes the details of a message which was moderated. MessageModerationAction The type of moderation performed to a message. Result The list of messages, loaded either from offline storage or an API call. MessagesState Represents of possible state of messages for ChannelState. Moderation Model holding data for a message moderated by Moderation V2. ModerationAction The moderation action performed over the message. Mute Model holding data about a user mute. Poll The Poll object represents a poll in a channel. Answer The Answer object represents an answer in a poll. Option The Option object represents an answer option in a poll. PollConfig The PollConfig object is used to configure a poll. Vote The Vote object represents a vote in a poll. PushMessage Model holding data for a push message. QueryDraftsResult The result of a query for draft messages. QueryThreadsResult Model representing the result of a 'Query Threads' operation. Builder Reaction Model representing a message reaction. Builder ReactionGroup A group of reactions of the same type. SearchMessagesResult Model representing a result of messages search operation. SearchWarning Represents a warning related to message search results. Thread Domain model for a thread. ThreadInfo Domain model for thread info. ThreadParticipant Model holding info about a thread participant. TimeDuration Represents the amount of time one instant of time is away from another instant. TypingEvent Model representing a typing event. UploadedFile Represents a successfully uploaded file. Builder User Represents a person who uses a chat and can perform chat operations like viewing channels or sending messages. UserBlock Represents a user block. VideoCallInfo Represents currently available call information for Agora and HMS video calls. VideoCallToken A call token that is used in currently available video call integrations. ChannelKt ChannelDataKt -
Object Summary Object Description Idle Idle state before attachment starts to upload. Success State indicating that the attachment was uploaded successfully AttachmentType Represents types of attachments. ChannelCapabilities Predefined list of channel capabilities constants. NoOpChannelTransformer A no-op implementation of ChannelTransformer. Connected The client is connected to the WebSocket. Connecting The client is trying to connect to the WebSocket. Offline The client is permanently disconnected from the WebSocket. Constants Represents constants used across all SDKs. Companion EventType https://getstream. NeutralFilterObject Filters Stream supports a limited set of filters for querying channels, users and members. Companion Companion NoOpMessageTransformer A no-op implementation of MessageTransformer. MessageType Represents types of messages. NoQueryActive The ChannelState is initialized but no query is currently running. Loading Indicates we are loading the first page of results. OfflineNoResults If we are offline and don't have channels stored in offline storage, typically displayed as an error condition. Companion ReactionSortingBySumScore Sorts ReactionGroups by the sum of their scores. ReactionSortingByCount Sorts ReactionGroups by their count. ReactionSortingByLastReactionAt Sorts ReactionGroups by the date of their last reaction. ReactionSortingByFirstReactionAt Sorts ReactionGroups by the date of their first reaction. Companion Companion NoOpUserTransformer A no-op implementation of MessageTransformer. -
Interface Summary Interface Description ChannelTransformer A transformer that can be used to transform a channel object before third parties can access it. CustomObject Marks a given object as an object which contains custom data (extraData). MessageTransformer A transformer that can be used to transform a message object before third parties can access it. ReactionSorting A comparator used to sort ReactionGroups. UserEntity Marks a class as a user entity. UserTransformer A transformer that can be used to transform a user object before third parties can access it. -
Enum Summary Enum Description PushProvider Push notifications provider type. InitializationState The state of initialization process. VotingVisibility The VotingVisibility enum represents the visibility of the votes. SyncStatus If the message has been sent to the servers. UploadAttachmentsNetworkType An enumeration of various network types used as a constraint in upload attachments worker.