addTarget

suspend fun addTarget(output: Surface): Boolean

Adds a target to the current capture session.

Return

true if the target has been added, false otherwise

Parameters

output

The target to add