HazardsFactory

Factory to create a Hazards that provides Hazard updates.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
fun create(context: Context, apiKey: String, authenticationServerUri: Uri? = null): Hazards
fun create(mqttDataProvider: MqttDataProvider, postDispatcher: CoroutineDispatcher = Dispatchers.Main, backgroundDispatcher: CoroutineDispatcher): Hazards

Creates a Hazards with the custom configuration.