create

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

Creates a SafetyLocations with the custom configuration.

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

Parameters

context

Android context.

apiKey

API key for the Safety Locations API.

authenticationServerUri

Optional authentication URI key for the Safety Locations API.