Android-GoldenEye
Android-GoldenEye copied to clipboard
How to Override defaults for the Camera
Hello,
I have implemented Goldeneye as a dependency in my project, and adapted MainActivity.kt from the example for my needs.
I'd like to change the defaults for resolution to QVGA, and I'd like to set Antibanding to "off" by default. Can you explain to me how to go about this?
Thank you.
Hi,
antibanding is part of advanced/experimental API - https://github.com/infinum/Android-GoldenEye#advanced-features
Once you turn advanced API on, you can configure Antibanding the same way as any other property through config. It can be done when onReady()
is triggered - https://github.com/infinum/Android-GoldenEye/blob/master/goldeneye/src/main/java/co/infinum/goldeneye/Callbacks.kt#L53
Hopefully this solves your issue.