DJI Mobile SDK Documentation

      class SetCallback

      interface SetCallback
      Package:dji.keysdk.callback
      Description:

      Callback called when performing a set on a key.

      Class Members:
      method
      method onSuccess
      void onSuccess()
      Package:dji.keysdk.callback
      Description:

      Invoked when setting process is done successfully.

      method
      method onFailure
      void onFailure(@NonNull DJIError error)
      Package:dji.keysdk.callback
      Description:

      Invoked when setting process has failed.

      Input Parameters:
      @NonNull DJIError errorThe error that occurred.