hasOutput

fun hasOutput(surface: Surface): Boolean

Whether the current capture request has an output.

If the output is not in the current capture session, you will have to create a new capture session. See createCameraControllerForOutputs.

Return

true if the output is in the current capture session, false otherwise

Parameters

surface

The output to check