Training Module
Access via AzeooSDK.shared.modules.training after connect. Use it to embed the training UI or open specific screens.
Embedding
- getFragment(bottomSafeArea = true) — Returns a Fragment to add to your layout.
- getView(context, bottomSafeArea = true) — Returns a View for Compose or custom layouts.
- ComposeView(bottomSafeArea) — Composable that embeds the training UI.
Navigation (opening screens)
| Method | Description |
|---|---|
| showWorkouts() | Workouts screen. |
| showPlans() | Workout plans list. |
| showPlan(planId) | Specific workout plan. |
| showExercises() | Exercise library. |
| showExercise(exerciseId) | Exercise details. |
| showProgress() | Progress tracking. |
| showSchedule() | Workout schedule. |
| showHome() | Module home (alias for workouts). |
Example
AzeooSDK.shared.modules.training.showWorkouts()
AzeooSDK.shared.modules.training.showExercises()