initialize

fun initialize(apiKey: String, baseURL: String? = null, completion: (String?, SDKError?) -> Unit)

Initializes the playback SDK.

Parameters

apiKey

The API key for authentication.

baseURL

The base URL for the playback API. Default is null.

completion

Callback to be invoked upon completion of initialization.