Skip to main content

Overlays

Introduction​

The Maestro Android SDK provides tools for displaying celebratory overlays when users win bets or experience Fantasy events. Overlays enhance user engagement by providing visual feedback for important moments.

Overview​

Overlays are animated Composable UI components that appear on top of your application to celebrate user achievements. The MaestroOverlays() composable displays celebratory animations when triggered by the SDK.

Key Concepts​

  • MaestroOverlays Composable: The Composable component that renders overlay animations
  • MaestroOverlayViewModel: The ViewModel that manages overlay state
  • Delegate Interface: The SDK uses MaestroEventDelegate to communicate overlay events