Enum SystemV1Events
- java.lang.Object
-
- java.lang.Enum<SystemV1Events>
-
- aero.panasonic.inflight.services.systemevents.SystemV1Events
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SystemV1Events>
public enum SystemV1Events extends java.lang.Enum<SystemV1Events>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECOMPRESSIONFlight data decompression It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : DECOMPRESSION_OFF / 1 : DECOMPRESSION_ON)LOCAL_NETWORK_AVAILABILITYNetwork Connectivity Available It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : NETWORK_UNAVAILABLE / 1 : NETWORK_AVAILABLE )NO_OPNoOp Heartbeat No data value associated.PAFlight data public announcement It will have Bundle as Intent Extra with a key/value pair as follow: KEY:InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : PA_OFF / 1 : PA_ON)WEIGHT_ON_WHEELSWeight on wheels status It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : Weight off wheels / 1 : Weight on wheels )ZONAL_PAFlight data zonal public announcement It will have Bundle as Intent Extra with a key/value pair as follow: KEY:InFlightIntentExtras.STATE.getKeyName() VALUE : {"0":["audio","video","video_announcement","overhead_video","non_mandatory"], "1":["audio","video","video_announcement","overhead_video","non_mandatory"]}
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetSystemV1EventName(SystemV1Events eventId)This method is used to get the name of the SystemV1Event passed.static intgetSystemV1EventNum(SystemV1Events eventId)static SystemV1EventsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SystemV1Events[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PA
public static final SystemV1Events PA
Flight data public announcement It will have Bundle as Intent Extra with a key/value pair as follow: KEY:InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : PA_OFF / 1 : PA_ON)
-
DECOMPRESSION
public static final SystemV1Events DECOMPRESSION
Flight data decompression It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : DECOMPRESSION_OFF / 1 : DECOMPRESSION_ON)
-
LOCAL_NETWORK_AVAILABILITY
public static final SystemV1Events LOCAL_NETWORK_AVAILABILITY
Network Connectivity Available It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : NETWORK_UNAVAILABLE / 1 : NETWORK_AVAILABLE )
-
NO_OP
public static final SystemV1Events NO_OP
NoOp Heartbeat No data value associated.
-
WEIGHT_ON_WHEELS
public static final SystemV1Events WEIGHT_ON_WHEELS
Weight on wheels status It will have Bundle as Intent Extra with a key/value pair as follow: KEY :InFlightIntentExtras.STATE.getKeyName() VALUE : int (0 : Weight off wheels / 1 : Weight on wheels )
-
ZONAL_PA
public static final SystemV1Events ZONAL_PA
Flight data zonal public announcement It will have Bundle as Intent Extra with a key/value pair as follow: KEY:InFlightIntentExtras.STATE.getKeyName() VALUE : {"0":["audio","video","video_announcement","overhead_video","non_mandatory"], "1":["audio","video","video_announcement","overhead_video","non_mandatory"]}
-
-
Method Detail
-
values
public static SystemV1Events[] 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 (SystemV1Events c : SystemV1Events.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemV1Events 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
-
getSystemV1EventName
public static java.lang.String getSystemV1EventName(SystemV1Events eventId)
This method is used to get the name of the SystemV1Event passed.- Parameters:
eventId-- Returns:
- String : Name associated with the SystemV1Event passed.
-
getSystemV1EventNum
public static int getSystemV1EventNum(SystemV1Events eventId)
-
-