create

fun create(context: Context, apiKey: String, authenticationServerUri: URI? = null): SafetyLocations

Creates an online safety location provider with a custom configuration.

Return

An online safety locations provider.

Parameters

context

Android context.

apiKey

API key for the Safety Locations API.

authenticationServerUri

Optional authentication URI key for the Safety Locations API.