Comments

7 comments

  • DJI Developer Support
    你使用的是什么相机呢?
    0
    Comment actions Permalink
  • yuanshenbin

    系统的啊 御2

    0
    Comment actions Permalink
  • DJI Developer Support
    监听这个CameraKey.HYBRID_ZOOM_FOCAL_LENGTH,代码参考: DJISDKManager.getInstance().getKeyManager().addListener(CameraKey.createKey(CameraKey.HYBRID_ZOOM_FOCAL_LENGTH), new KeyListener() { @Override public void onValueChange(@Nullable Object o, @Nullable Object o1) { Log.d(TAG, "onValueChange: old focal_length:"+((int)o)+"new focal_length"+((int)o1)); } });
    0
    Comment actions Permalink
  • yuanshenbin

    CameraKey.createKey 4.16.4没有方法 

    0
    Comment actions Permalink
  • DJI Developer Support
    你可以使用create去构建这个Key,参考代码原本对应的是createLenskEY,我在修改的时候遗漏了一部分,调用逻辑是一样的。
    0
    Comment actions Permalink
  • yuanshenbin

    谢谢,知道了

    0
    Comment actions Permalink
  • DJI Developer Support
    Key的调用逻辑都是类似的,需要注意的是Lens使用Key需要用createLensKey去创建,否则会出现错误。
    0
    Comment actions Permalink

Please sign in to leave a comment.