Closed huongta157 closed 6 months ago
Agent comment from yating.liao in Zendesk ticket #106586:
The AIR 2 can be used with setFlatMode. Is the mode you are passing supported by AIR 2? The mode PHOTO_HDR listed above is not supported by AIR 2. If you need the photo to be HDR type, you should set the camera mode to PHOTO_SMART.
°°°
@dji-dev thank you so much. How about with another device that does not support setFlatMode? Which function to change the camera mode?
Agent comment from yating.liao in Zendesk ticket #106586:
If the value returned by isFlatCameraModeSupported is false, it means that FlatMode is not supported. You can set it using setMode.
°°°
I'm trying to setFlatMode through the SDK, and found that I need to set the camera's flat mode to:
The code (Kotlin) I'm using to do this is:
Making this call returns an error: Camera received invalid parameters.
Any help is appreciated.
Device: DJI Air 2 Firmware: 01.05.0000 SDK Version: 4.17