DJI Mobile SDK Documentation

      class CompletionCallback

      interface CompletionCallback<T extends DJIError>
      Package:dji.common.util
      Inherits From:DJIError>
      Description:

      Completion callback for asynchronous operations when no information needs to be returned from the operation.

      Class Members:

      Callback Interfaces

      method
      method onResult
      void onResult(T error)
      Package:dji.common.util
      Description:

      Invoked when the asynchronous operation completes. If the operation completes successfully, error will be null. Override to handle in your own code.

      Input Parameters:
      T errorThe DJI error result