Skip to main content
Logo
Explore APIsContact Us
  • Home
  1. Resources
  2. Virtual Stadium
  3. Overview

Overview

Virtual Stadium Android SDK allows you to integrate our social betting platform directly into your Android application. The SDK provides native UI components built with Jetpack Compose and traditional Android Views, enabling a seamless betting experience for your users.


#Core Components

The Android SDK consists of three main UI components to provide a complete social betting experience:

#Chat Component

The Chat component is the primary interface where users can:

  • Message the Community - Real-time chat with other users
  • Share Bets - Share bet slips with the community
  • Copy Bets - Copy bet slips from other users
  • Flash Bets - Quick betting triggered by live match events
  • Bet Insights - View AI-powered betting suggestions
  • Match Events - See live match events in the chat feed

#Profile Component

The Profile component displays user information including:

  • User statistics (bets shared, bets copied)
  • Shared bet history
  • User activity in the community

#Central Hub Component

The Central Hub component is a comprehensive social betting platform that combines all features:

  • Profile Management - View and edit user profiles, manage followers
  • Bet Feed - Community feed of shared bets with reactions and comments
  • Search - Discover users and navigate to their profiles
  • Notifications - Stay updated with bet shares, comments, and social activity
  • Bet Sharing - Share your bet slips with the community
  • Social Connections - Follow users and manage your social network

#Integration Flexibility

The SDK supports two implementation approaches to fit your app architecture:

#Jetpack Compose

Modern declarative UI for Kotlin-first Android development:

kotlin
Chat(
    jwtToken = "<jwt-token>",
    channelId = "<channel-id>",
    languageCode = LanguageCode.EN,
    modifier = Modifier.fillMaxSize()
)

#Android Views

Traditional XML-based layouts for existing view systems:

xml
<ag.sportradar.virtualstadium.uisdk.views.VirtualStadiumChatView
    android:id="@+id/chat_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

#Key Features

#Real-time Communication

  • Realtime chat with low latency
  • Message reactions
  • tags
  • Content moderation integration

#Betting Integration

  • Bet Sharing - Share single, multi, and bet builder slips
  • Flash Bets - Time-sensitive quick bets triggered by match events
  • Bet Insights - AI-powered outcome suggestions from Sportradar feeds
  • Bet Copying - One-tap bet copying with automatic market matching

#Customization

  • Theming - Full color scheme customization
  • Icons - Replace default icons with custom drawables
  • Fonts - Custom font family support
  • Localization - Custom translations support

#Prerequisites

Before integrating the Android SDK, you'll need:

  1. Client Credentials - Provided by Sportradar
  2. JWT Token - For user authentication
  3. Channel ID - The chat channel identifier
  4. Android Project - Minimum SDK version requirements

#Next Steps

Ready to integrate Virtual Stadium into your Android app? Follow these guides in order:

1. Dependencies

Add the SDK to your project and configure the required repositories.

Setup Dependencies

2. Usage

Initialize the SDK and configure your application settings.

View Usage Guide

3. Chat Component

Learn how to implement the Chat component with all its features.

Implement Chat

4. Profile Component

Add user profiles to enhance community engagement.

Implement Profiles

5. Central Hub Component

Implement the comprehensive social betting hub with profiles, bet feeds, and social features.

Implement Central Hub
Last updated about 1 month ago
Is this site helpful?
Virtual Stadium, Moderation, Engagement Tools
LocalizationDependencies
On this page
  • Core Components
  • Chat Component
  • Profile Component
  • Central Hub Component
  • Integration Flexibility
  • Jetpack Compose
  • Android Views
  • Key Features
  • Real-time Communication
  • Betting Integration
  • Customization
  • Prerequisites
  • Next Steps