Interface AppControl.AppRequestsListener
-
- Enclosing class:
- AppControl
public static interface AppControl.AppRequestsListenerListener interface for handling app requests received from the PED.Implementations of this interface can process requests such as launching or quitting app. These callbacks allow seatback to respond to PED-driven actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAppLaunchRequestReceived(java.lang.String appIdentifier, boolean isVfsApp, java.util.Map<java.lang.String,java.lang.Object> appExtras)Called when a request to launch an application is received from the PED.voidonAppQuitRequestReceived(java.lang.String appIdentifier, boolean isVfsApp)Called when a request to quit an app is received from the PED.
-
-
-
Method Detail
-
onAppLaunchRequestReceived
void onAppLaunchRequestReceived(java.lang.String appIdentifier, boolean isVfsApp, java.util.Map<java.lang.String,java.lang.Object> appExtras)Called when a request to launch an application is received from the PED.- Parameters:
appIdentifier- The unique identifier of the app to be launched.isVfsApp-trueif the requested app is VFS-based,falseotherwise.appExtras- Additional metadata or parameters associated with the launch request (may be empty ornull).
-
onAppQuitRequestReceived
void onAppQuitRequestReceived(java.lang.String appIdentifier, boolean isVfsApp)Called when a request to quit an app is received from the PED.- Parameters:
appIdentifier- The unique identifier of the app to be quit.isVfsApp-trueif the app is VFS-based,falseotherwise.
-
-