The Virtual Stadium Data SDK provides a comprehensive suite of services for integrating chat, betting, and social features into your Android and iOS applications. Built on Kotlin Multiplatform, the SDK delivers a consistent API across both platforms while leveraging native capabilities.
The Data SDK is the foundation for building custom Virtual Stadium experiences in your mobile applications. It provides direct access to:
The SDK handles all backend communication, state management, and data synchronization, allowing you to focus on building your user interface.
The Virtual Stadium Data SDK uses Koin for dependency injection and provides a suite of specialized services:
LoginManager - Handles JWT-based authentication and session managementUserProvider - Tracks current user state including bans, timeouts, and permissionsChatManager - Manages chat channel lifecycle and organizationChatChannel - Provides messaging, reactions, and bet sharing for individual channelsSettingsProvider - Delivers channel settings like message limits and reaction typesOddsFormatProvider - Handles odds formatting (US, EU, UK)ProfileProvider - Manages user profile data and avatar URLsAll services expose reactive state flows that update automatically as data changes, enabling responsive UI development.
The SDK follows a clear initialization and usage pattern:
LoginManagerChatManagerThis architecture ensures efficient resource usage and provides a predictable development experience.
Ready to integrate the Virtual Stadium Data SDK? Follow these guides to get started:
Add the SDK to your Android or iOS project and perform initial setup.
Complete walkthrough for integrating the SDK and building your first chat experience.
Explore all available services and understand their purposes.