Package aero.panasonic.inflight.services
Enum InFlightIntentActions
- java.lang.Object
-
- java.lang.Enum<InFlightIntentActions>
-
- aero.panasonic.inflight.services.InFlightIntentActions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InFlightIntentActions>
public enum InFlightIntentActions extends java.lang.Enum<InFlightIntentActions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_MEDIAPLAYER_EVENTThis is the SDK event which the client application has to register itself as the intent action for Media Playback.ACTION_SHELLAPP_EVENTThis is the SDK event which the client application has to register itself as the intent action for Shell app notifications.ACTION_SYSTEM_EVENTThis is the SDK event which the client application has to register itself as the intent action for System Events like PA, DECOMPRESSION.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetIntentAction()This method is used to get the name of Intent action associated with the Intent.static InFlightIntentActionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InFlightIntentActions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTION_MEDIAPLAYER_EVENT
public static final InFlightIntentActions ACTION_MEDIAPLAYER_EVENT
This is the SDK event which the client application has to register itself as the intent action for Media Playback.
-
ACTION_SYSTEM_EVENT
public static final InFlightIntentActions ACTION_SYSTEM_EVENT
This is the SDK event which the client application has to register itself as the intent action for System Events like PA, DECOMPRESSION.
-
ACTION_SHELLAPP_EVENT
public static final InFlightIntentActions ACTION_SHELLAPP_EVENT
This is the SDK event which the client application has to register itself as the intent action for Shell app notifications.
-
-
Method Detail
-
values
public static InFlightIntentActions[] 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 (InFlightIntentActions c : InFlightIntentActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InFlightIntentActions 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
-
getIntentAction
public java.lang.String getIntentAction()
This method is used to get the name of Intent action associated with the Intent.- Returns:
- String : Name of the Intent action .
-
-