Enum FlightDataV1Info

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

    public enum FlightDataV1Info
    extends java.lang.Enum<FlightDataV1Info>
    FlightDataV1Info 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 OnFlightDataInfoListener with the details as below.
    • Enum Constant Detail

      • TAIL_NUMBER

        public static final FlightDataV1Info TAIL_NUMBER
        The tail number.

        VALUE : String
      • ALTITUDE

        public static final FlightDataV1Info ALTITUDE
        The altitude.

        VALUE : int
      • DEPARTURE_COORDINATES

        public static final FlightDataV1Info DEPARTURE_COORDINATES
        The departure coordinates.

        VALUE : FlightDataCoordinate
      • DESTINATION_COORDINATES

        public static final FlightDataV1Info DESTINATION_COORDINATES
        The destination coordinates.

        VALUE : FlightDataCoordinate
      • DISTANCE_FROM_DEPARTURE

        public static final FlightDataV1Info DISTANCE_FROM_DEPARTURE
        The distance from departure.

        VALUE : int
      • DISTANCE_TO_DESTINATION

        public static final FlightDataV1Info DISTANCE_TO_DESTINATION
        The distance to destination.

        VALUE : int
      • FLIGHT_NUMBER

        public static final FlightDataV1Info FLIGHT_NUMBER
        The flight number.

        VALUE : String
      • GROUND_SPEED

        public static final FlightDataV1Info GROUND_SPEED
        The ground speed.

        VALUE : int
      • HEAD_WIND_SPEED

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

        VALUE : int
      • OUTSIDE_AIR_TEMP

        public static final FlightDataV1Info OUTSIDE_AIR_TEMP
        The outside air temperature.

        VALUE : int
      • CURRENT_COORDINATES

        public static final FlightDataV1Info CURRENT_COORDINATES
        The current coordinates.

        VALUE : FlightDataCoordinate
      • TIME_AT_DESTINATION

        public static final FlightDataV1Info TIME_AT_DESTINATION
        The time at destination.

        VALUE : Date
      • TIME_AT_ORIGIN

        public static final FlightDataV1Info TIME_AT_ORIGIN
        The time at origin.

        VALUE : Date
      • TIME_TO_DESTINATION

        public static final FlightDataV1Info TIME_TO_DESTINATION
        The time to destination.

        VALUE : int
      • TRUE_HEADING

        public static final FlightDataV1Info TRUE_HEADING
        The true heading.

        VALUE : int
      • WIND_DIRECTION

        public static final FlightDataV1Info WIND_DIRECTION
        The wind direction in degrees(0 to 360).

        VALUE : int
      • WIND_SPEED

        public static final FlightDataV1Info WIND_SPEED
        The wind speed in knots (-999 to 999).

        VALUE : int
      • DEPARTURE_IATA

        public static final FlightDataV1Info DEPARTURE_IATA
        The departure iata.

        VALUE : String
      • DEPARTURE_ICAO

        public static final FlightDataV1Info DEPARTURE_ICAO
        The departure icao.

        VALUE : String
      • TIME_AT_TAKEOFF

        public static final FlightDataV1Info TIME_AT_TAKEOFF
        The time at take off.

        VALUE : String
      • ESTIMATED_ARRIVAL_TIME

        public static final FlightDataV1Info ESTIMATED_ARRIVAL_TIME
        The estimated arrival time.

        VALUE : String
      • DESTINATION_IATA

        public static final FlightDataV1Info DESTINATION_IATA
        The destination iata.

        VALUE : String
      • DESTINATION_ICAO

        public static final FlightDataV1Info DESTINATION_ICAO
        The destination icao.

        VALUE : String
      • DESTINATION_UTC_OFFSET

        public static final FlightDataV1Info DESTINATION_UTC_OFFSET
        The destination offset in minutes.

        VALUE : int
      • DEPARTURE_UTC_OFFSET

        public static final FlightDataV1Info DEPARTURE_UTC_OFFSET
        The departure offset in minutes.

        VALUE : int
      • FLIGHT_PHASE

        public static final FlightDataV1Info FLIGHT_PHASE
        Phase of Flight - say cruising or taxi to stop.

        VALUE : String
      • FLIGHT_ID

        public static final FlightDataV1Info FLIGHT_ID
        Flight ID. VALUE: String
      • DISTANCE_COVERED_PERCENTAGE

        public static final FlightDataV1Info DISTANCE_COVERED_PERCENTAGE
        Distance Covered Percentage
      • CURRENT_UTC_DATE

        public static final FlightDataV1Info CURRENT_UTC_DATE
        Current UTC time
      • FLIGHTDATA_ERROR

        public static final FlightDataV1Info FLIGHTDATA_ERROR
        This will be triggered if error occurs while downloading the data. All data fields will be cleared, and repopulated when the service reconnects with the server.

        VALUE : String
      • AIRCRAFT_TYPE

        public static final FlightDataV1Info AIRCRAFT_TYPE
        Aircraft type
    • Method Detail

      • values

        public static FlightDataV1Info[] 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 (FlightDataV1Info c : FlightDataV1Info.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FlightDataV1Info 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