buildAsync

suspend fun buildAsync(platformContext: PlatformContext, logger: Logger = defaultPlayerLogger): Result<BrightcovePlayer?, Error?>

Builds a BrightcovePlayer instance based on the supplied builder params.

Return

The Result instance that provides, in asynchronous way, the BrightcovePlayer instance or Error object.

Parameters

platformContext

The PlatformContext instance.

logger

The Logger instance.