setCaptureConfiguration

final Unit setCaptureConfiguration(CaptureConfiguration captureConfiguration)

Sets configuration for Capture feature. Note that configuration is immutable. releaseCapture needs to be called before passing a new configuration.

Throws

if capture is already configured.