DJI Mobile SDK Documentation

      class DJICompassState

      @interface DJICompassState : NSObject
      Header:DJICompassState.h
      Inherits From:NSObject
      Description:

      The state of the DJICompass.

      Class Members:
      Index
      property
      property index
      @property (nonatomic, readonly) NSUInteger index
      Header:DJICompassState.h
      Description:

      The Compass's ID. Starts at 0, It is same with IMU state.

      property
      property sensorValue
      @property (nonatomic, readonly) float sensorValue
      Header:DJICompassState.h
      Description:

      The compass sensor's value.

      property
      property state
      @property (nonatomic, readonly) DJICompassSensorState state
      Header:DJICompassState.h
      Description:

      The compass sensor's state value.

      See Also:

      DJICompassSensorState