Mechanical Shutter Setting in MSDKv5
已完成Is 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
请先登录再写评论。
评论
2 条评论