Enum FlightDataInfo

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FlightDataInfo>

    public enum FlightDataInfo
    extends java.lang.Enum<FlightDataInfo>
    FlightDataInfo provides real-time flight information, such as open and close flight, flight number, flight ID and destination. Applications can subscribe to get the real time flight data information.
    This information will be sent to the applications in the form of callback FlightDataListener.onFlightDataChanged with the details as below.
    • Enum Constant Detail

      • TAIL_NUMBER

        public static final FlightDataInfo TAIL_NUMBER
        The tail number.
      • DEPARTURE_COORDINATES

        public static final FlightDataInfo DEPARTURE_COORDINATES
        The departure coordinates.
      • DESTINATION_COORDINATES

        public static final FlightDataInfo DESTINATION_COORDINATES
        The destination coordinates.
      • DISTANCE_FROM_DEPARTURE

        public static final FlightDataInfo DISTANCE_FROM_DEPARTURE
        The distance from departure.
      • DISTANCE_TO_DESTINATION

        public static final FlightDataInfo DISTANCE_TO_DESTINATION
        The distance to destination.
      • DISTANCE_COVERED_PERCENTAGE

        public static final FlightDataInfo DISTANCE_COVERED_PERCENTAGE
        Distance Covered Percentage
      • FLIGHT_NUMBER

        public static final FlightDataInfo FLIGHT_NUMBER
        The flight number.
      • GROUND_SPEED

        public static final FlightDataInfo GROUND_SPEED
        The ground speed.
      • HEAD_WIND_SPEED

        public static final FlightDataInfo HEAD_WIND_SPEED
        The head wind speed in knots (-999 to 999).
      • FLIGHT_SPEED

        public static final FlightDataInfo FLIGHT_SPEED
        The flight speed.
      • OUTSIDE_AIR_TEMP

        public static final FlightDataInfo OUTSIDE_AIR_TEMP
        The outside air temperature.
      • CURRENT_COORDINATES

        public static final FlightDataInfo CURRENT_COORDINATES
        The current coordinates.
      • TIME_AT_DESTINATION

        public static final FlightDataInfo TIME_AT_DESTINATION
        The time at destination.
      • TIME_AT_ORIGIN

        public static final FlightDataInfo TIME_AT_ORIGIN
        The time at departure.
      • TIME_TO_DESTINATION

        public static final FlightDataInfo TIME_TO_DESTINATION
        The time to destination.
      • TRUE_HEADING

        public static final FlightDataInfo TRUE_HEADING
        The true heading.
      • WIND_DIRECTION

        public static final FlightDataInfo WIND_DIRECTION
        The wind direction in degrees(0 to 360).
      • WIND_SPEED

        public static final FlightDataInfo WIND_SPEED
        The wind speed in knots (-999 to 999).
      • DEPARTURE_IATA

        public static final FlightDataInfo DEPARTURE_IATA
        The departure iata.
      • DEPARTURE_ICAO

        public static final FlightDataInfo DEPARTURE_ICAO
        The departure icao.
      • TIME_AT_TAKEOFF

        public static final FlightDataInfo TIME_AT_TAKEOFF
        The time at take off.
      • ESTIMATED_ARRIVAL_TIME

        public static final FlightDataInfo ESTIMATED_ARRIVAL_TIME
        The estimated arrival time.
      • DESTINATION_IATA

        public static final FlightDataInfo DESTINATION_IATA
        The destination iata.
      • DESTINATION_ICAO

        public static final FlightDataInfo DESTINATION_ICAO
        The destination icao.
      • DESTINATION_UTC_OFFSET

        public static final FlightDataInfo DESTINATION_UTC_OFFSET
        The destination offset in minutes.
      • DEPARTURE_UTC_OFFSET

        public static final FlightDataInfo DEPARTURE_UTC_OFFSET
        The departure offset in minutes.
      • FLIGHT_PHASE

        public static final FlightDataInfo FLIGHT_PHASE
        Phase of Flight - say cruising or taxi to stop.
      • FLIGHT_STATE

        public static final FlightDataInfo FLIGHT_STATE
        Flight State.
      • CURRENT_UTC_DATE

        public static final FlightDataInfo CURRENT_UTC_DATE
        Current UTC date time
      • AIRCRAFT_TYPE

        public static final FlightDataInfo AIRCRAFT_TYPE
        Aircraft type
    • Method Detail

      • values

        public static FlightDataInfo[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FlightDataInfo c : FlightDataInfo.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FlightDataInfo valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null