DJI Mobile SDK Documentation

      class RealTimeFlightData

      final class RealTimeFlightData
      Package:dji.sdk.flighthub.model
      Description:

      This class includes detail of current flight.

      Class Members:
      method
      method getSn
      String getSn()
      Package:dji.sdk.flighthub.model
      Description:

      Gets current device's serial number.

      Return:
      StringCurrent device's serial number.
      method
      method getDevice
      String getDevice()
      Package:dji.sdk.flighthub.model
      Description:

      Gets the model of the device.

      Return:
      StringThe product name.
      method
      method getTeamId
      String getTeamId()
      Package:dji.sdk.flighthub.model
      Description:

      Gets the team's id that current device belongs to.

      Return:
      StringTeam id.
      method
      method getDate
      Date getDate()
      Package:dji.sdk.flighthub.model
      Description:

      Gets flight date.

      Return:
      DateThe flight date.
      method getLocationCoordinate
      LocationCoordinate3D getLocationCoordinate()
      Package:dji.sdk.flighthub.model
      Description:

      Gets current location coordinate.

      Return:
      LocationCoordinate3DA LocationCoordinate3D object.
      method
      method getSpeed
      double getSpeed()
      Package:dji.sdk.flighthub.model
      Description:

      Gets flight speed.

      Return:
      doubleAn integer value of the flight speed in m/s.
      method
      method getYaw
      float getYaw()
      Package:dji.sdk.flighthub.model
      Description:

      Gets flight yaw.

      Return:
      floatAn integer value of flight yaw.