Mechanical Shutter Setting in MSDKv5
CompletedIs it possible to set the shutter to mechanical or electronic for the Mavic 3 Enterprise with the DJI MSDK v5? I cannot find a key in the documentation that allows this setting
-
Hey I have tried your suggestion:
KeyManager.getInstance().setValue(KeyTools.createCameraKey(CameraKey.KeyMechanicalShutter, ComponentIndexType.LEFT_OR_MAIN, CameraLensType.CAMERA_LENS_DEFAULT), true,object : CommonCallbacks.CompletionCallback {override fun onSuccess(){promise.resolve("ev done")Log.i("Success", "")}override fun onFailure(error: IDJIError) {
}})
But got this error in compilation:
Unresolved reference: KeyMechanicalShutterEnable.
I imported the CameraKey object:
import dji.sdk.keyvalue.key.CameraKey
please help me
I don't find this KeyMechanicalShutterEnable in the documentation as well
Please sign in to leave a comment.
Comments
2 comments