DJI Mobile SDK Documentation

      class MultiDeviceAggregationState

      class MultiDeviceAggregationState
      Package:dji.common.remotecontroller
      Description:

      The aggregation state related to devices that can pair to the remote controller. It contains the pairing state and the connection state of the device (aircraft or RTK base station). It is only used when the remote controller supports multi-device pairing. Only Supported by Phantom 4 RTK.

      Class Members:
      method getAircraftState
      MultiDeviceState getAircraftState()
      Package:dji.common.remotecontroller
      Description:

      The device state of aircraft.

      Return:
      MultiDeviceStateAn enum value of the MultiDeviceState.
      method getRtkBaseStationState
      MultiDeviceState getRtkBaseStationState()
      Package:dji.common.remotecontroller
      Description:

      The device state of RTK base station.

      Return:
      MultiDeviceStateAn enum value of the MultiDeviceState.
      State Updates
      interface
      interface Callback
      interface Callback
      Package:dji.common.remotecontroller
      Description:

      Interface to receive the latest pairing state from the remote controller that supporting multi-device pairing.

      Interface Methods:
      method onMultiDeviceAggregationStateChanged
      void onMultiDeviceAggregationStateChanged(MultiDeviceAggregationState state)
      Package:dji.common.remotecontroller
      Description:

      Delegate method to receive the latest pairing state from the remote controller that supporting multi-device pairing.

      Input Parameters:
      MultiDeviceAggregationState stateThe latest pairing state.