🤖 API SDK Android
Point d'entrée public : AzeooSDK.
Cycle de vie
| Méthode | Description |
|---|---|
AzeooSDK.initialize(...) | Démarre le moteur + jeton SDK ; callback à la fin |
AzeooSDK.shared.connectUser(token, gender, height, weight, callback) | Attache l'utilisateur |
AzeooSDK.shared.disconnect(callback) | Déconnexion |
AzeooSDK.shared.dispose() | Démonte le moteur |
Après la connexion
| Propriété | Description |
|---|---|
shared.user | Opérations sur le profil |
shared.theme | Mode thème / couleurs |
shared.navigation | Navigation typée |
shared.modules.nutrition | Fragment Nutrition |
shared.modules.training | Fragment Entraînement |
Navigation
sdk.navigate(AzeooDestination.Nutrition.Plan(id = "abc"))
sdk.setModuleContainer(coordinator)
Voir Navigation.