DJI Mobile SDK Documentation

      class DJISubjectSensingState

      @interface DJISubjectSensingState : NSObject
      Header:DJIActiveTrackMission.h
      Inherits From:NSObject
      Description:

      The state of one of the auto-sensed subject after enabling auto sensing. Only supported by DJI Mavic Air.

      Class Members:
      State
      property
      property index
      @property (nonatomic, readonly) NSInteger index
      Header:DJIActiveTrackMission.h
      Description:

      Index of the auto-sensed subjects. After enabling auto sensing, the aircraft may find multiple subjects and an index will be assigned to each subject. Use this index to select the subject to track.

      property
      property state
      @property (nonatomic, readonly) DJIActiveTrackTargetState state
      Header:DJIActiveTrackMission.h
      Description:

      The target state of the auto-sensed subject.

      See Also:

      DJIActiveTrackTargetState

      property
      property targetType
      @property (nonatomic, readonly) DJIActiveTrackTargetType targetType
      Header:DJIActiveTrackMission.h
      Description:

      The type of the auto-sensed subject.

      See Also:

      DJIActiveTrackTargetType

      property
      property targetRect
      @property (nonatomic, readonly) CGRect targetRect
      Header:DJIActiveTrackMission.h
      Description:

      A rectangle in the live video view image that represents the auto-sensed subject. The rectangle is normalized to [0,1] where (0,0) is the top left of the video preview and (1,1) is the bottom right.