DJI Mobile SDK Documentation

      class DJICameraLaserMeasureInformation

      @interface DJICameraLaserMeasureInformation : NSObject
      Header:DJICameraSettingsDef.h
      Inherits From:NSObject
      Description:

      The class is used to save laser sensor information which includes the laser sensor switch status, the target object information and laser state. The laser sensor must be at least 3m from the target point. Only supported by Zenmuse H20 Series.

      Class Members:
      Target Location
      property
      property targetLocation
      @property (nonatomic, readonly) CLLocation *targetLocation
      Header:DJICameraSettingsDef.h
      Description:

      The target object's location measured by the laser sensor.

      Target Distance
      property
      property targetDistance
      @property (nonatomic, readonly) float targetDistance
      Header:DJICameraSettingsDef.h
      Description:

      Gets the range to the target object.

      Target Point
      property
      property targetPoint
      @property (nonatomic, readonly) CGPoint targetPoint
      Header:DJICameraSettingsDef.h
      Description:

      Gets the relative target point base the lens origin point which measures by the laser sensor. The range for x and y is from 0 to 1000. The point [0, 0] represents the top-left angle of the screen.

      Error
      property
      property error
      @property (nonatomic, readonly) NSError *error
      Header:DJICameraSettingsDef.h
      Description:

      Gets the laser error from the laser sensor.