removeTarget

suspend fun removeTarget(output: Surface): Unit?

Removes a target from the current capture session.