DJI Mobile SDK Documentation

      class BaseStationState

      class BaseStationState
      Package:dji.common.basestation
      Description:

      RTK Base Station Current State.

      Class Members:
      Allowed To Use
      method
      method isAllowedToUse
      boolean isAllowedToUse()
      Package:dji.common.basestation
      Description:

      Gets if the base station is allowed to use in current country.

      Return:
      booleanA boolean value.
      Location Type
      method
      method getBaseStationLocationType
      BaseStationLocationType getBaseStationLocationType()
      Package:dji.common.basestation
      Description:

      Gets RTK baseStation location type. See BaseStationLocationType.

      Return:
      BaseStationLocationTypeAn enum value of BaseStationLocationType.
      State Updates
      interface
      interface Callback
      interface Callback
      Package:dji.common.basestation
      Description:

      Callback Interface for RTK Base Station State.

      Interface Methods:

      Callback Method

      Base Station State
      method
      method onUpdateBaseStationState
      void onUpdateBaseStationState(BaseStationState baseStationState)
      Package:dji.common.basestation
      Description:

      Callback function that updates the RTK base station state. Only Supported by Phantom 4 RTK and M200 series V2. This is only available on D-RTK 2 with firmware version v01.00.0300 or above.

      Input Parameters:
      BaseStationState baseStationStateBase Station State.