- Call setMode(SHOOT_PHOTO) to set the camera mode as shooting mode.
- Call setShootPhotoMode(PANORAMA) to set the shooting mode becomes Panorama shooting mode. If your camera/aircraft model is H20 series, Mavic Air 2 or DJI Air 2s, you need to call setFlatMode(PHOTO_PANORAMA) to set the shooting mode becomes Panorama shooting mode.
- Configure the other Panorama settings such as setPhotoPanoramaMode and setPanoOriginalPhotoSettings.
- Call startShootPhoto to start shooting.