Package aero.panasonic.inflight.services
Enum InFlightIntentExtras
- java.lang.Object
-
- java.lang.Enum<InFlightIntentExtras>
-
- aero.panasonic.inflight.services.InFlightIntentExtras
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InFlightIntentExtras>
public enum InFlightIntentExtras extends java.lang.Enum<InFlightIntentExtras>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_INDEXThis is the intent extra passed during PLAYLIST_INDEX_CHANGE event generated by MediaPlayerV1.CURRENT_TIMEThis is the intent extra passed during TIME_UPDATE event generated by MediaPlayerV1.DECOMPRESSION_STATEThis is the intent extra passed during DECOMPRESSION event generated by SystemV1.DISPLAY_STATEThis is the intent extra passed during FULL_SCREEN_CHANGE event generated by MediaPlayerV1.DURATIONThis is the intent extra passed during DURATION_CHANGE event generated by MediaPlayerV1.ERROR_WARNING_CODEThis is the intent extra passed during ERROR or WARNING event generated by MediaPlayerV1 or SystemV1.EVENT_DATAThis is the Bundle containing all the data in the form of intent extras based on the generated event.EVENT_DATA_MEDIA_SOUNDTRACKThis is the intent extra passed during SOUNDTRACK_CHANGE event generated by MediaPlayerV1.EVENT_DATA_MEDIA_SUBTITLEThis is the intent extra passed during SUBTITLE_CHANGE event generated by MediaPlayerV1.EVENT_DATA_SHELLAPP_MEDIA_DISPLAY_STATEThis is the intent extra passed to application through MEDIA_DISPLAY_STATE_CHANGE intent generated by ShellApp.EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGEThis is the intent extra passed to application through PORTAL_NOTIFICATION intent generated by ShellApp.EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_EXITThis is the intent extra passed to the application as EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE value.EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_VERSIONThis is the intent extra passed to the application as EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE value.EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_VALUEThis is the intent extra passed to application through PORTAL_NOTIFICATION intent generated by ShellApp.EVENT_DATA_SHELLAPP_PORTAL_URLThis is the intent extra passed to notify the application of the events on that URL, like loading started and finished, generated by ShellApp.EVENT_NAMEThis is name of the event passed from InFlight SDK via Intent.LOCAL_NETWORK_AVAILABILITY_STATEThis is the intent extra passed during LOCAL_NETWORK_AVAILABILITY event generated by SystemV1.PA_STATEThis is the intent extra passed during PA event generated by SystemV1.PLAYLISTThis is the intent extra passed during PLAYLIST_CHANGE event generated by MediaPlayerV1.REPEAT_MODEThis is the intent extra passed during PLAYLIST_REPEAT_MODE_CHANGE event generated by MediaPlayerV1.SEEK_RANGE_INFOThis is the intent extra passed during SEEK_RANGE_INFO event generated by MediaPlayerV1.SERVICE_INSTANCE_IDThis is the service instance id that is passed back as an extra in the intent.SHUFFLE_MODEThis is the intent extra passed during PLAYLIST_SHUFFLE_MODE_CHANGE event generated by MediaPlayerV1.STATEThis is the intent extra passed during PA or DECOMPRESSION event generated by SystemV1.VERSIONThis is the intent extra passed to application through PORTAL_VERSION intent generated by ShellApp.VOLUME_LEVELThis is the intent extra passed during VOLUME_CHANGE event generated by ShellApp.WEIGHT_ON_WHEELS_STATEThis is the intent extra passed during Weight_ON_WHEELS event generated by SystemV1.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKeyName()This method will return the appropriate key name for accessing intent data passed through SDK.static InFlightIntentExtrasvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InFlightIntentExtras[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVENT_NAME
public static final InFlightIntentExtras EVENT_NAME
This is name of the event passed from InFlight SDK via Intent.
-
EVENT_DATA
public static final InFlightIntentExtras EVENT_DATA
This is the Bundle containing all the data in the form of intent extras based on the generated event.
-
SERVICE_INSTANCE_ID
public static final InFlightIntentExtras SERVICE_INSTANCE_ID
This is the service instance id that is passed back as an extra in the intent.
-
CURRENT_TIME
public static final InFlightIntentExtras CURRENT_TIME
This is the intent extra passed during TIME_UPDATE event generated by MediaPlayerV1.
-
DURATION
public static final InFlightIntentExtras DURATION
This is the intent extra passed during DURATION_CHANGE event generated by MediaPlayerV1.
-
SEEK_RANGE_INFO
public static final InFlightIntentExtras SEEK_RANGE_INFO
This is the intent extra passed during SEEK_RANGE_INFO event generated by MediaPlayerV1.
-
DISPLAY_STATE
public static final InFlightIntentExtras DISPLAY_STATE
This is the intent extra passed during FULL_SCREEN_CHANGE event generated by MediaPlayerV1.
-
CURRENT_INDEX
public static final InFlightIntentExtras CURRENT_INDEX
This is the intent extra passed during PLAYLIST_INDEX_CHANGE event generated by MediaPlayerV1.
-
VOLUME_LEVEL
public static final InFlightIntentExtras VOLUME_LEVEL
This is the intent extra passed during VOLUME_CHANGE event generated by ShellApp.
-
PLAYLIST
public static final InFlightIntentExtras PLAYLIST
This is the intent extra passed during PLAYLIST_CHANGE event generated by MediaPlayerV1.
-
REPEAT_MODE
public static final InFlightIntentExtras REPEAT_MODE
This is the intent extra passed during PLAYLIST_REPEAT_MODE_CHANGE event generated by MediaPlayerV1.
-
SHUFFLE_MODE
public static final InFlightIntentExtras SHUFFLE_MODE
This is the intent extra passed during PLAYLIST_SHUFFLE_MODE_CHANGE event generated by MediaPlayerV1.
-
ERROR_WARNING_CODE
public static final InFlightIntentExtras ERROR_WARNING_CODE
This is the intent extra passed during ERROR or WARNING event generated by MediaPlayerV1 or SystemV1.
-
STATE
public static final InFlightIntentExtras STATE
This is the intent extra passed during PA or DECOMPRESSION event generated by SystemV1.
-
PA_STATE
public static final InFlightIntentExtras PA_STATE
This is the intent extra passed during PA event generated by SystemV1.
-
DECOMPRESSION_STATE
public static final InFlightIntentExtras DECOMPRESSION_STATE
This is the intent extra passed during DECOMPRESSION event generated by SystemV1.
-
WEIGHT_ON_WHEELS_STATE
public static final InFlightIntentExtras WEIGHT_ON_WHEELS_STATE
This is the intent extra passed during Weight_ON_WHEELS event generated by SystemV1.
-
LOCAL_NETWORK_AVAILABILITY_STATE
public static final InFlightIntentExtras LOCAL_NETWORK_AVAILABILITY_STATE
This is the intent extra passed during LOCAL_NETWORK_AVAILABILITY event generated by SystemV1.
-
VERSION
public static final InFlightIntentExtras VERSION
This is the intent extra passed to application through PORTAL_VERSION intent generated by ShellApp. This is deprecated and will not be supported in future releases.
-
EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE
This is the intent extra passed to application through PORTAL_NOTIFICATION intent generated by ShellApp.
-
EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_VALUE
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_VALUE
This is the intent extra passed to application through PORTAL_NOTIFICATION intent generated by ShellApp.
-
EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_VERSION
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_VERSION
This is the intent extra passed to the application as EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE value.
-
EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_EXIT
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE_EXIT
This is the intent extra passed to the application as EVENT_DATA_SHELLAPP_PORTAL_NOTIFICATION_MESSAGE value.
-
EVENT_DATA_SHELLAPP_PORTAL_URL
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_PORTAL_URL
This is the intent extra passed to notify the application of the events on that URL, like loading started and finished, generated by ShellApp.
-
EVENT_DATA_MEDIA_SOUNDTRACK
public static final InFlightIntentExtras EVENT_DATA_MEDIA_SOUNDTRACK
This is the intent extra passed during SOUNDTRACK_CHANGE event generated by MediaPlayerV1.
-
EVENT_DATA_MEDIA_SUBTITLE
public static final InFlightIntentExtras EVENT_DATA_MEDIA_SUBTITLE
This is the intent extra passed during SUBTITLE_CHANGE event generated by MediaPlayerV1.
-
EVENT_DATA_SHELLAPP_MEDIA_DISPLAY_STATE
public static final InFlightIntentExtras EVENT_DATA_SHELLAPP_MEDIA_DISPLAY_STATE
This is the intent extra passed to application through MEDIA_DISPLAY_STATE_CHANGE intent generated by ShellApp.
-
-
Method Detail
-
values
public static InFlightIntentExtras[] 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 (InFlightIntentExtras c : InFlightIntentExtras.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InFlightIntentExtras 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
-
getKeyName
public java.lang.String getKeyName()
This method will return the appropriate key name for accessing intent data passed through SDK.- Returns:
- String: Key
-
-