PlayBackSDKManager

Singleton object to manage playback SDK functionalities.

Functions

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

Initializes the playback SDK.

Link copied to clipboard
fun loadHLSStream(entryId: String, authorizationToken: String?, completion: (URL?, SDKError?) -> Unit)

Loads the HLS stream.

Link copied to clipboard
fun loadPlayer(entryID: String, authorizationToken: String, onError: (PlayBackAPIError) -> Unit?): @Composable () -> Unit

Loads the player UI.