Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sceyt/sceyt-chat-android-uikit/llms.txt
Use this file to discover all available pages before exploring further.
SceytChatUIKit is the top-level singleton entry point for the Sceyt Chat Android UIKit. You call initialize(...) once in your Application.onCreate() to wire up the underlying ChatClient, the Koin dependency-injection container, and emoji support. After that, the singleton exposes properties for theming, configuration, formatters, providers, renderers, notifications, and navigation, as well as methods to manage the connection lifecycle and access the full SceytChatUIFacade for interactors and core services.
Package: com.sceyt.chatuikit
Initialization
Bootstraps the UIKit. Must be called once, typically in
Application.onCreate(). It initialises the underlying ChatClient, starts the Koin DI container, and sets up emoji support.Connection Management
Connects the
ChatClient to the Sceyt server using the supplied JWT or token string.Triggers a reconnection attempt on the underlying
ChatClient. Use this after a network disruption when you need to force an immediate retry rather than waiting for the automatic reconnect logic.Disconnects the
ChatClient from the Sceyt server without clearing local data.Performs a full log-out: cancels background sync, cancels pending workers, clears the local database and preferences, unregisters the Firebase push token, disconnects the client, and cancels all displayed notifications. The optional
unregisterPushCallback reports whether the push token was successfully unregistered.Logging
Installs a custom logger and sets the minimum log level. Call before
initialize to capture early log output.Read-Only Properties
Returns the singleton
com.sceyt.chat.ChatClient instance. Available immediately after initialize.The ID of the currently authenticated user, or
null if no user is connected. Reads from UserInteractor.getCurrentUserId().The full
SceytUser profile of the currently authenticated user, mapped from ClientWrapper.currentUser. Returns null before a successful connect.The Maven artifact version string of the UIKit library (e.g.
"2.1.5").Mutable Configuration Properties
Controls the global visual theme — colors, fonts, and style overrides applied across all UIKit screens. Replace or mutate before the first UI interaction.
The main configuration object. Covers query limits, presence, channel types, member roles, push notifications, voice recording, search, message constraints, and media resizing. See Configuration for the full property list.
A collection of formatter lambdas used to transform raw data into display strings (timestamps, user names, channel subjects, file sizes, etc.). Override individual formatters to customise how values appear in the UI.
Pluggable providers that supply contextual data to UIKit components, such as attachment previews, avatar URLs, or mention suggestions.
Custom view renderers for message cells, attachment thumbnails, and other compound views. Replace a renderer to inject your own layouts.
Entry point for configuring push and in-app notification behaviour. Provides access to
pushNotification.notificationHandler, channel grouping, and notification style.Controls screen navigation within the UIKit. Replace the default
DefaultSceytChatUIKitNavigator to intercept or override Activity/Fragment transitions.An optional provider that the UIKit calls when it needs a fresh authentication token (e.g. on token expiry). Implement
ChatTokenProvider and assign it here to enable automatic token renewal.An optional transformer applied to every outgoing
Message object before it is sent. Use it to inject custom metadata, modify body text, or attach additional payload fields.The internal wiring layer that aggregates all interactors, the sync manager, and the file-transfer service. Injected via Koin and available after
initialize. See SceytChatUIFacade for the full API.