DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.MASTER_SLAVE_STATE
      Description:

      Callback function that updates the Remote Controller's master and slave state.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull MasterSlaveState masterSlaveState)
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.MASTER_SLAVE_STATE
      Description:

      Callback function that updates the remote controller's state related to the master and slave mode. Only supported by Inspire 2.

      Input Parameters:
      @NonNull MasterSlaveState masterSlaveStateThe remote controller's state related to the master and slave mode.