Skip to main content
Version: 1.1.0

πŸ“‘ Events (Flutter β†’ native)

AzeooEvents notifies the host about SDK state (Pigeon). On Android, implement AzeooSDKListener and assign it to AzeooSDK.shared.listener.

Callbacks​

EventWhen fired
onConnectionStatusChangedConnection state changes
onUserConnectedUser connect succeeds β€” includes profile
onUserDisconnectedUser disconnect
onUserProfileChangedProfile updated
onThemeChangedTheme mode or colors changed
onDeepLinkReceivedDeep link URI received
onNavigationChangedSDK requests navigation (module switch, etc.)
onErrorSDK error
onSDKReadyFlutter side fully ready
onSDKDisposedSDK disposed
onScreensCloseStandalone screen closed

Android example​

AzeooSDK.shared.listener = object : AzeooSDKListener {
override fun onUserConnected(profile: AzeooUserProfileMessage) {
// update host UI
}
override fun onNavigationChanged(navigation: AzeooNavigationRequestMessage) {
// sync tab bar, etc.
}
}

Wire these when building custom native chrome around the Flutter module.

Generated from pigeons/azeoo_api.dart β€” regenerate after API changes.