DJI Mobile SDK V5 5.11.0 to 5.12.0 Differences


APIs removed from 5.11.0

Parent and NameCode
dji.v5.manager.aircraft.megaphone.MegaphoneStatus.IDEL IDEL(0)

APIs added to 5.12.0

Parent and NameCode
dji.v5.manager.interfaces.ICameraStreamManager. interface VisionAssistStatusListener
dji.v5.manager.interfaces.ICameraStreamManager.onVisionAssistEnabled void onVisionAssistEnabled(boolean isEnable)
dji.v5.manager.interfaces.ICameraStreamManager.onVisionAssistViewDirectionRangeUpdated void onVisionAssistViewDirectionRangeUpdated(@NonNull List<VisionAssistDirection> modes)
dji.v5.manager.interfaces.ICameraStreamManager.onVisionAssistViewDirectionUpdated void onVisionAssistViewDirectionUpdated(@NonNull VisionAssistDirection mode)
dji.v5.manager.interfaces.ICameraStreamManager.addVisionAssistStatusListener void addVisionAssistStatusListener(@NonNull VisionAssistStatusListener listener)
dji.v5.manager.interfaces.ICameraStreamManager.enableVisionAssist void enableVisionAssist(boolean enabled, @Nullable CommonCallbacks.CompletionCallback callback)
dji.v5.manager.interfaces.ICameraStreamManager.getStreamEncoderBitrate int getStreamEncoderBitrate(ComponentIndexType cameraIndex)
dji.v5.manager.interfaces.ICameraStreamManager.removeVisionAssistStatusListener void removeVisionAssistStatusListener(@NonNull VisionAssistStatusListener listener)
dji.v5.manager.interfaces.ICameraStreamManager.setStreamEncoderBitrate void setStreamEncoderBitrate(ComponentIndexType cameraIndex, int bitrate)
dji.v5.manager.interfaces.ICameraStreamManager.setVisionAssistViewDirection void setVisionAssistViewDirection(VisionAssistDirection direction, @Nullable CommonCallbacks.CompletionCallback callback)
dji.v5.manager.aircraft.megaphone.MegaphoneStatus.IDLE IDLE(0)
dji.v5.manager.aircraft.megaphone.WorkMode.REAL_TIME REAL_TIME(4)

--android --android