御2 zoom飞机 调用setTouchFocusEnabled设置可触点对焦,但是调用后是无效的(isTouchF...

Completed

Comments

1 comment

  • DJI Developer Support
    setTouchFocusEnabled和isTouchFocusEnabled这两个接口我怎么在MSDK的源代码里没有找到呢,在屏幕上对焦的原理实际上就是setFocusTarget接口,你用安卓的接口获取到屏幕上的点坐标后传入到setFocusTarget就会在该点对焦了,剩下得就是用UI画框。UXSDK有做这个功能,你试试看UXSDK的最新版本。https://github.com/dji-sdk/Mobile-UXSDK-Android
    0
    Comment actions Permalink

Please sign in to leave a comment.