Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Override defaults for the Camera #41

Open
raranov opened this issue Jan 23, 2020 · 1 comment
Open

How to Override defaults for the Camera #41

raranov opened this issue Jan 23, 2020 · 1 comment

Comments

@raranov
Copy link

raranov commented Jan 23, 2020

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.

@domagojkorman
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants