create

fun create(context: Context, apiKey: String): DataSource

Creates DataSource with default 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 Cameras API.