AlertProvider

interface AlertProvider

Alert provider. This will be implemented automatically by alerts-sdk in order to supply the map-ui-sdk with Alert-based data.

Inheritors

Functions

Link copied to clipboard
abstract fun createAlertListPartialFragment(@NonNull alertIds: List<String>, @NonNull fragmentConsumer: Consumer<Fragment>)
Create partial fragment alert list for given alertIds
Link copied to clipboard
abstract fun displayAlertListDialog(@NonNull alertIds: List<String>, @NonNull fragmentManager: FragmentManager, @NonNull entityZoneSelection: Consumer<EntityZone>): Boolean
Link copied to clipboard
Get the impacted-area polygons of the active alerts at a property so the map can plot them as overlays at map-open.
Link copied to clipboard
abstract fun getActiveAlerts(propertyId: Int, alertsConsumer: Consumer<List<String>>)
Get the list of active alerts by propertyId
Link copied to clipboard
Link copied to clipboard
Build the RoutingConstraints derived from the property's active scheduled alerts (blocked buildings/floors, impacted entrances and node links) so route requests can re-route around closures.
Link copied to clipboard
abstract fun hasAlerts(entity: Entity): Boolean
Link copied to clipboard
abstract fun showAlertDialogForEntity(@NonNull entity: Entity, @NonNull fragmentManager: FragmentManager, @NonNull entityZoneSelection: Consumer<EntityZone>)