DJI Mobile SDK Documentation

      class RTKConnectionStateWithBaseStationReferenceSourceCallback

      interface RTKConnectionStateWithBaseStationReferenceSourceCallback
      Package:dji.sdk.flightcontroller
      Description:

      Callback interface that updates RTK connection state and connected base station information.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull RTKConnectionStateWithBaseStationReferenceSource connectionState, @Nullable RTKBaseStationInformation information)
      Package:dji.sdk.flightcontroller
      Description:

      Updates RTK connection state and connected base station information. Aircraft will try to connect to the base station connected last time after it restarts. Stops to reconnect after 10 seconds. If current connection state is SCANNING or IDLE, this method still updates the base station information connected last time. Only can be used when current ReferenceStationSource is BASE_STATION. It is supported only by Matrice 300 RTK.

      Input Parameters:
      @NonNull RTKConnectionStateWithBaseStationReferenceSource connectionStateRTK with base station connection state.
      @Nullable RTKBaseStationInformation informationBase station connection information.