mapzone_speed_alert library
Flutter plugin for the MapZone Speed Alert SDK.
Real-time speed-limit, camera, toll and road-restriction alerts with voice, for Android and iOS. See MapZoneSpeedAlert 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.). - MapZoneSpeedAlert
- High-level entry point for the MapZone Speed Alert engine.
- MapZoneSpeedAlertPlatform
-
The platform interface all
mapzone_speed_alertbackends implement. - ReadyEvent
-
Emitted by the native
onReadycallback once zone data has loaded for the current area. - RestrictionEvent
- Road-restriction signs, from MapZoneSpeedAlert.onRestriction.
- 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 MapZone Speed Alert engine.
- VoiceAlertType
- Configurable voice-alert categories the host app can mute via MapZoneSpeedAlert.setMutedAlertTypes.
- VoiceProfile
- How alerts are spoken, set with MapZoneSpeedAlert.setVoiceProfile.