DJI Mobile SDK Documentation

      class DJIUASRemoteIDManager

      @interface DJIUASRemoteIDManager : NSObject
      Header:DJIUASRemoteIDManager.h
      Inherits From:NSObject
      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:withCompletion
      - (void)setAreaCode:(DJIUASAreaCode)areaCode withCompletion:(DJICompletionBlock)completion
      Header:DJIUASRemoteIDManager.h
      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:
      DJIUASAreaCode areaCodeArea code of country or area.
      DJICompletionBlock completionCompletion block.


      Remote identification broadcast of the drone

      property
      property delegate
      @property (nonatomic, weak) id<DJIUASRemoteIDManagerDelegate> delegate
      Header:DJIUASRemoteIDManager.h
      Description:

      Delegate that receives the UAS Remote ID Status.

      See Also:

      DJIUASRemoteIDManagerDelegate

      protocol DJIUASRemoteIDManagerDelegate
      @protocol DJIUASRemoteIDManagerDelegate <NSObject>
      Header:DJIUASRemoteIDManager.h
      Inherits From:NSObject
      Description:

      This protocol provides delegate methods to receive the updated status related to UAS Remote ID.

      Protocol Methods:

      Remote identification broadcast of the drone

      method manager:didUpdateUASRemoteIDStatus
      @optional
      -(void)manager:(DJIUASRemoteIDManager *)manager didUpdateUASRemoteIDStatus:(DJIUASRemoteIDStatus *)remoteIDStatus
      Header:DJIUASRemoteIDManager.h
      Description:

      Called when the UAS Remote ID Status changes.

      Input Parameters:
      DJIUASRemoteIDManager * managerThe Remote ID manager that updates the current status.
      DJIUASRemoteIDStatus * remoteIDStatusAn object value of DJIUASRemoteIDStatus.


      enum DJIRemoteIDWorkingState
      typedef NS_ENUM(uint8_t, DJIRemoteIDWorkingState)
      Header:DJIUASRemoteIDManager.h
      Description:

      The remote identification status of the drone.

      Enum Members:
      DJIRemoteIDWorkingStateIdleIdle, initialization state.
      DJIRemoteIDWorkingStateWorkingWorking, it indicates that Remote ID is broadcasting.
      DJIRemoteIDWorkingStateOperatorLocationLostErrorNot working, because the operator's position is lost, resulting in the Remote ID not being broadcast.
      DJIRemoteIDWorkingStateFirmwareErrorNot working, because the firmware error, resulting in the Remote ID not being broadcast.
      DJIRemoteIDWorkingStateUnknownNot working, because the unknown error, resulting in the Remote ID not being broadcast.
      enum DJIUASAreaCode
      typedef NS_ENUM(uint8_t, DJIUASAreaCode)
      Header:DJIUASRemoteIDManager.h
      Description:

      Enums represent the aera code.

      Enum Members:
      DJIUASAreaCodeUSAmerica.