DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.camera
      Description:

      This interface provides updated information about the lens and focus.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull FocusState state)
      Package:dji.common.camera
      Description:

      Called when the camera's lens and focus state has been updated. For Zenmuse H20, Zenmuse H20T and Mavic 2 Enterprise Advanced, please use class Lens.

      Input Parameters:
      @NonNull FocusState stateThe camera lens and focus state information.