Enum FlightDataInfo
- java.lang.Object
-
- java.lang.Enum<FlightDataInfo>
-
- aero.panasonic.inflight.services.flightdata.v2.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 callbackFlightDataListener.onFlightDataChangedwith the details as below.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRCRAFT_TYPEAircraft typeALTITUDEThe altitude.CURRENT_COORDINATESThe current coordinates.CURRENT_UTC_DATECurrent UTC date timeDEPARTURE_COORDINATESThe departure coordinates.DEPARTURE_IATAThe departure iata.DEPARTURE_ICAOThe departure icao.DEPARTURE_UTC_OFFSETThe departure offset in minutes.DESTINATION_COORDINATESThe destination coordinates.DESTINATION_IATAThe destination iata.DESTINATION_ICAOThe destination icao.DESTINATION_UTC_OFFSETThe destination offset in minutes.DISTANCE_COVERED_PERCENTAGEDistance Covered PercentageDISTANCE_FROM_DEPARTUREThe distance from departure.DISTANCE_TO_DESTINATIONThe distance to destination.ESTIMATED_ARRIVAL_TIMEThe estimated arrival time.FLIGHT_IDFlight ID.FLIGHT_NUMBERThe flight number.FLIGHT_PHASEPhase of Flight - say cruising or taxi to stop.FLIGHT_SPEEDThe flight speed.FLIGHT_STATEFlight State.GROUND_SPEEDThe ground speed.HEAD_WIND_SPEEDThe head wind speed in knots (-999 to 999).OUTSIDE_AIR_TEMPThe outside air temperature.TAIL_NUMBERThe tail number.TIME_AT_DESTINATIONThe time at destination.TIME_AT_ORIGINThe time at departure.TIME_AT_TAKEOFFThe time at take off.TIME_TO_DESTINATIONThe time to destination.TRUE_HEADINGThe true heading.WIND_DIRECTIONThe wind direction in degrees(0 to 360).WIND_SPEEDThe wind speed in knots (-999 to 999).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlightDataInfovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlightDataInfo[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TAIL_NUMBER
public static final FlightDataInfo TAIL_NUMBER
The tail number.
-
ALTITUDE
public static final FlightDataInfo ALTITUDE
The altitude.
-
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_ID
public static final FlightDataInfo FLIGHT_ID
Flight ID.
-
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 namejava.lang.NullPointerException- if the argument is null
-
-