DJI Mobile SDK Documentation

      class MasterSearchingCallback

      interface MasterSearchingCallback
      Package:dji.sdk.remotecontroller
      Description:

      Receives the information of available master remote controllers. onMasterListUpdate will be called repeated with 1 second interval once master searching is started successfully. It will stop when the searching is stopped either by the remote controller itself or by calling stopMasterSearching.

      Class Members:

      Callback Method

      State
      method
      method onResult
      void onResult(@Nullable DJIError error)
      Package:dji.sdk.remotecontroller
      Description:

      Execution result of startMasterSearching.

      Input Parameters:
      @Nullable DJIError errorError retrieving the value.
      method onMasterListUpdate
      void onMasterListUpdate(@NonNull Information[] informationList)
      Package:dji.sdk.remotecontroller
      Description:

      Called every 1 seconds to get available master remote controllers' information.

      Input Parameters:
      @NonNull Information[] informationListInformation list array.