Interface Pairing.PairingGuiDisplayListener

  • Enclosing class:
    Pairing

    public static interface Pairing.PairingGuiDisplayListener
    Interface to handle GUI display events related to embedded pairing operations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void showConfirmScreen​(java.lang.String pedName, java.lang.String message, java.lang.String from)
      Displays a confirmation dialog to the passenger with options to accept or reject the pairing request.
      void showPairCompleteScreen()
      Displays the screen indicating that the pairing operation has been successfully completed.
      void showPasscodeScreen​(java.lang.String passcode, java.lang.String qrCodeImageUrl)
      Displays a dialog to the passenger showing a passcode or a QR code for pairing.
      void showUnpairCompleteScreen()
      Displays the screen indicating that the unpairing operation has been successfully completed.
    • Method Detail

      • showConfirmScreen

        void showConfirmScreen​(java.lang.String pedName,
                               java.lang.String message,
                               java.lang.String from)
        Displays a confirmation dialog to the passenger with options to accept or reject the pairing request.
        Parameters:
        pedName - the name of the PED (Personal Electronic Device) initiating the pairing.
        message - the message from the PED to be displayed.
        from - the initiator of the pairing, either PED or seat.
      • showPasscodeScreen

        void showPasscodeScreen​(java.lang.String passcode,
                                java.lang.String qrCodeImageUrl)
        Displays a dialog to the passenger showing a passcode or a QR code for pairing.
        Parameters:
        passcode - the passcode provided for pairing.
        qrCodeImageUrl - the URL of the QR code image to be displayed.
      • showPairCompleteScreen

        void showPairCompleteScreen()
        Displays the screen indicating that the pairing operation has been successfully completed.
      • showUnpairCompleteScreen

        void showUnpairCompleteScreen()
        Displays the screen indicating that the unpairing operation has been successfully completed.