DJI Mobile SDK Documentation

      class AirSenseSystemInformation

      @EXClassNullAway
      class AirSenseSystemInformation
      Package:dji.common.flightcontroller.adsb;import
      Description:

      The state of DJI AirSense system. It contains the overall warning level and the detailed state of each detected airplane.

      Class Members:
      method getWarningLevel
      AirSenseWarningLevel getWarningLevel()
      Package:dji.common.flightcontroller.adsb;import
      Description:

      The overall system warning level. This will be the worst case of all individual aircraft warning levels.

      Return:
      AirSenseWarningLevelAn enum value of AirSenseWarningLevel.
      method getAirplaneStates
      AirSenseAirplaneState[] getAirplaneStates()
      Package:dji.common.flightcontroller.adsb;import
      Description:

      The state of all airplanes detected by DJI AirSense system.

      Return:
      AirSenseAirplaneState[]An array of AirSenseAirplaneState objects.
      interface
      interface Callback
      interface Callback
      Package:dji.common.flightcontroller.adsb;import
      Description:

      An interface for obtaining AirSenseSystemInformation infos.

      Interface Methods:
      method
      method onUpdate
      void onUpdate(@NonNull AirSenseSystemInformation information)
      Package:dji.common.flightcontroller.adsb;import
      Description:

      Callback method of Air Sense Airplane State.

      Input Parameters:
      @NonNull AirSenseSystemInformation informationAn object of AirSenseSystemInformation.
      enum AirSenseWarningLevel
      @EXClassNullAway
      enum AirSenseWarningLevel
      Package:dji.common.flightcontroller.adsb
      SDK Key:FlightControllerKey.AIR_SENSE_SYSTEM_WARNING_LEVEL
      Description:

      The warning level determined by the DJI AirSense system. The warning level is based on the distance between the airplane and the DJI aircraft, and the heading of the airplane.

      Enum Members:
      LEVEL_0The system detects the airplane but the DJI aircraft is either far away from the airplane or is in the opposite direction of the airplane's heading.
      LEVEL_1The system detects the airplane. The probability that it will pass through the location of the DJI aircraft is considered low.
      LEVEL_2The system detects the airplane. The probability that it will pass through the location of the DJI aircraft is considered medium.
      LEVEL_3The system detects the airplane. The probability that it will pass through the location of the DJI aircraft is considered high.
      LEVEL_4The system detects the airplane. The probability that it will pass through the location of the DJI aircraft is very high.
      UNKNOWNUnknown.
      Class Members:
      Air Sense Airplane State
      class