library / io.getstream.chat.android.livedata

Package io.getstream.chat.android.livedata

Types

ChannelData

A class that only stores the channel data and not all the other channel state Using this prevents code bugs and issues caused by confusing the channel data vs the full channel object

data class ChannelData

ChatDatabase

abstract class ChatDatabase : RoomDatabase

ChatDomain

The ChatDomain is the main entry point for all livedata & offline operations on chat

interface ChatDomain

ChatDomainImpl

The Chat Repository exposes livedata objects to make it easier to build your chat UI. It intercepts the various low level events to ensure data stays in sync. Offline storage is handled using Room

class ChatDomainImpl : ChatDomain

ChatNotificationConfigOffline

Extend the ChatNotificationConfig to start the sync worker when receiving new messages This ensures that offline storage is up to date as soon as you open the app

open class ChatNotificationConfigOffline : ChatNotificationConfig

EventHandlerImpl

class EventHandlerImpl

Extensions for External Classes

io.getstream.chat.android.client.errors.ChatError

io.getstream.chat.android.client.events.ChatEvent

io.getstream.chat.android.client.models.Channel

io.getstream.chat.android.client.models.Message

Properties

gson

var gson: Gson