mapzone_flutter_alert_plugin library
Flutter plugin for the Speed Alert SDK by Vietmap.
Real-time speed-limit, camera and toll-gate alerts with voice, for Android and iOS. See VietmapAlertController for the main entry point.
Classes
- AlertConfig
-
Immutable configuration used to initialize the native
ZoneNetworkManageralert engine. - AlertEvent
-
A fully-populated snapshot of the current alert state, emitted on every
processed GPS frame by the native
onBitmapcallback. - AlertLocation
-
A location fix produced by the plugin's native GPS capture (Approach A) and
forwarded on the
locationevent channel so the UI can show the current position and speed. - AlertResult
-
Emitted by the native
onResultcallback to report success / errors of the alert engine (zone loading, credential validation, etc.). - ReadyEvent
-
Emitted by the native
onReadycallback once zone data has loaded for the current area. - VietmapAlertController
- High-level entry point for the Vietmap Speed Alert engine.
- VietmapAlertPlatform
-
The platform interface all
mapzone_flutter_alert_pluginbackends implement. - VoiceEvent
-
A voice-alert clip emitted by the native
onVoicecallback.
Enums
- SpeedStatus
- Driver speed compliance status reported with each AlertEvent.
- VehicleType
- Vehicle type passed to the Vietmap Speed Alert engine.
- VoiceAlertType
- Configurable voice-alert categories the host app can mute via VietmapAlertController.setMutedAlertTypes.