DJI Mobile SDK Documentation

      class IUASRemoteIDManager

      interface IUASRemoteIDManager
      Package:dji.sdk.uas
      Description:

      RID management class of the drone system. In order to meet the increasingly standardized drone regulatory requirements around the world, The drone in flight should be able to broadcast the identification and location of the operator and the drone.

      Class Members:

      Area code

      method setAreaCode
      DJIError setAreaCode(AreaCode areaCode)
      Package:dji.sdk.uas
      Description:

      Set the area code of country or area. The following functions can not be used unless the corresponding area code is set.

      Currently the supported country or area list and the supported function list is as follows:

    • USA: remote identification broadcast of drone
    • Input Parameters:
      AreaCode areaCodeArea code of country or area.
      Return:
      DJIErrorReturn the setting execution result of area code.


      Remote identification broadcast of the drone

      method getUASRemoteIDStatus
      UASRemoteIDStatus getUASRemoteIDStatus()
      Package:dji.sdk.uas
      Description:

      Get the remote identification status of the drone system.

      Return:
      UASRemoteIDStatusReturn the remote identification status of the drone system.
      method addUASRemoteIDStatusListener
      void addUASRemoteIDStatusListener(UASRemoteIDStatusListener listener)
      Package:dji.sdk.uas
      Description:

      Add the remote identification status listener of the drone system.

      Input Parameters:
      UASRemoteIDStatusListener listenerThe remote identification status listener of the drone system
      method removeUASRemoteIDStatusListener
      void removeUASRemoteIDStatusListener(UASRemoteIDStatusListener listener)
      Package:dji.sdk.uas
      Description:

      Remove the remote identification status listener of the drone system.

      Input Parameters:
      UASRemoteIDStatusListener listenerThe remote identification status listener of the drone system
      method clearUASRemoteIDStatusListener
      void clearUASRemoteIDStatusListener()
      Package:dji.sdk.uas
      Description:

      Remove all the remote identification status listeners of the drone system.


      enum RemoteIdWorkingState
      enum RemoteIdWorkingState
      Package:dji.sdk.uas
      Description:

      The remote identification working status of the drone.

      Enum Members:
      IDLEIdle, initialization state.
      WORKINGWorking, it indicates that Remote ID is broadcasting.
      OPERATOR_LOCATION_LOST_ERRORNot working, because the operator's position is lost, resulting in the Remote ID not being broadcast.
      FIRMWARE_ERRORNot working, because the firmware error, resulting in the Remote ID not being broadcast.
      UNKNOWN_ERRORNot working, because the unknown error, resulting in the Remote ID not being broadcast.
      Class Members:
      enum AreaCode
      enum AreaCode
      Package:dji.sdk.uas
      Description:

      Enums represent the aera code.

      Enum Members:
      USAmerica.
      Class Members: