set Capture Configuration
public final Unit setCaptureConfiguration(Context context, CaptureConfiguration captureConfiguration)
Sets configuration for Capture feature.
@Deprecated(message = "Please use setCaptureConfiguration(context, captureConfiguration) which allows instance recreation without having to call releaseCapture()", replaceWith = @ReplaceWith(imports = {}, expression = "setCaptureConfiguration(context, captureConfiguration)" ) )
Deprecated
Please use setCaptureConfiguration(context, captureConfiguration) which allows instance recreation without having to call releaseCapture()
Replace with
setCaptureConfiguration(context, captureConfiguration)
Content copied to clipboard
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.