AlertManager
Alert Manager for creating and managing custom navigation alerts.
This singleton class provides functionality to create, enable/disable, and destroy various types of alerts during navigation, including traffic sign alerts, POI alerts, and border crossing alerts.
Holds a CBAlertMgr instance from the native CoreSDK.
Functions
Link copied to clipboard
Creates a border crossing alert.
Link copied to clipboard
fun createPOIAlert(repeatAlert: Boolean, alertParam: AlertParam, classIDs: List<Int>? = null): List<CustomPOIAlert>?
Creates POI alerts for the specified POI class IDs.
Link copied to clipboard
fun createTrafficSignsAlert(repeatAlert: Boolean, alertParam: AlertParam, trafficSigns: List<TrafficSign>): List<CustomPOIAlert>?
Creates traffic sign alerts for the specified traffic sign types.
Link copied to clipboard
Destroys an alert and removes it from the alert manager.
Link copied to clipboard
Enables or disables an existing alert.