RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 406 forks source link

No API to query for current camera parameters #107

Closed ezaquarii closed 6 years ago

ezaquarii commented 6 years ago

What are you trying to achieve or the steps to reproduce?

I want to display picture size selection menu with currently used picture size, but the Fotoapparat API doesn't expose current camera parameters.

Those parameters are kept in ParametersProvider instance, that is not accessible.

What did you expect?

I expect information about current camera settings to be available after start().

Diolor commented 6 years ago

You can get the capabilities a camera has with Fotoapparat#getCapabilities(). Are you looking for something more than those capabilities?

ezaquarii commented 6 years ago

I'm not interested in capabilities, but currently selected resolution.

When camera is started with default settings, I can't tell which defaults are currently active. I can't use capabilities to initialize the camera, because it becomes available... after you start the camera.

friendoye commented 6 years ago

@Diolor @dmitry-zaitsev Probaly closed with #108.