hasTarget

suspend fun hasTarget(surface: Surface): Boolean

Whether the current capture request has a target

Return

true if the target is in the current capture request, false otherwise

Parameters

surface

The target to check