# class AirSenseAirplaneState

    class AirSenseAirplaneState implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

The AirSense state of an airplane.

##### Class Members:

#### Members

method
getCode

###### method getCode

    String getCode()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the unique code (ICAO) of the airplane.

##### Return:

String | Returns The unique code (ICAO) of the airplane.

method
getWarningLevel

###### method getWarningLevel

    AirSenseWarningLevel getWarningLevel()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the warning level determined by DJI AirSense system.

##### Return:

AirSenseWarningLevel | Returns the warning level determined by DJI AirSense system.

method
getRelativeDirection

###### method getRelativeDirection

    AirSenseDirection getRelativeDirection()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the direction of the airplane relative to the DJI aircraft.

##### Return:

AirSenseDirection | Returns the direction of the airplane relative to the DJI aircraft.

method
getHeading

###### method getHeading

    Double getHeading()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the heading of the airplane.

##### Return:

Double | Returns the heading of the airplane.

method
getDistance

###### method getDistance

    Integer getDistance()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the distance between the airplane and DJI aircraft in meters.

##### Return:

Integer | Returns the distance between the airplane and DJI aircraft in meters.

method
getLatitude

###### method getLatitude

    Double getLatitude()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the latitude of the airplane's position.

##### Return:

Double | Returns the latitude of the airplane's position.

method
getLongitude

###### method getLongitude

    Double getLongitude()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the longitude of the airplane's position.

##### Return:

Double | Returns the longitude of the airplane's position.

method
getAbsoluteAltitude

###### method getAbsoluteAltitude

    Double getAbsoluteAltitude()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the altitude of the airplane, unit: meter. For airplane of flight safety, this is the altitude after offset confusion, for reference only.

##### Return:

Double | Returns the altitude of the airplane.

method
getAltitude

###### method getAltitude

    Double getAltitude()

Package: | dji.sdk.keyvalue.value.flightcontroller

##### Description:

Gets the relative altitude between the airplane and the DJI aircraft, unit: meter. For reasons of airplane flight safety, this is the altitude after offset confusion, for reference only.

##### Return:

Double | Returns the relative altitude between the airplane and the DJI aircraft

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found