Interface AppControl.AppRequestsListener

  • Enclosing class:
    AppControl

    public static interface AppControl.AppRequestsListener
    Listener 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
      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.
      void onAppQuitRequestReceived​(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 - true if the requested app is VFS-based, false otherwise.
        appExtras - Additional metadata or parameters associated with the launch request (may be empty or null).
      • 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 - true if the app is VFS-based, false otherwise.