Reputation: 1032
Is there way of enabling ZSL on old Camera API? Nothing in official documentation, maybe in Parameters
, maybe it is manufacturer dependent value?
Upvotes: 1
Views: 1510
Reputation: 57163
Yes, it's a device-specific setting. If it is supported, you can use the string-based set() API to control it. You can find the device-specific parameter name and often the expected parameter values from flatten() result.
It is important to remember that setParameters() call is slow and may produce a RuntimeException for any one of hundreds of plausible or unexpected reasons, so you should always wrap it in try…catch.
Upvotes: 1