Enum FlightDataV1Info
- java.lang.Object
-
- java.lang.Enum<FlightDataV1Info>
-
- aero.panasonic.inflight.services.flightdata.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 callbackOnFlightDataInfoListenerwith the details as below.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRCRAFT_TYPEAircraft typeALTITUDEThe altitude.CLOSE_FLIGHTClose FlightCURRENT_COORDINATESThe current coordinates.CURRENT_UTC_DATECurrent UTC 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.FLIGHTDATA_ERRORThis will be triggered if error occurs while downloading the data.GROUND_SPEEDThe ground speed.HEAD_WIND_SPEEDThe head wind speed in knots (-999 to 999).MACHThe mach number.OPEN_FLIGHTOpen FlightOUTSIDE_AIR_TEMPThe outside air temperature.TAIL_NUMBERThe tail number.TIME_AT_DESTINATIONThe time at destination.TIME_AT_ORIGINThe time at origin.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 FlightDataV1InfovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlightDataV1Info[]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 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
-
MACH
public static final FlightDataV1Info MACH
The mach number. 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
-
OPEN_FLIGHT
public static final FlightDataV1Info OPEN_FLIGHT
Open Flight
-
CLOSE_FLIGHT
public static final FlightDataV1Info CLOSE_FLIGHT
Close Flight
-
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 namejava.lang.NullPointerException- if the argument is null
-
-