Package 

Interface PLYFlowListener


  • 
    public interface PLYFlowListener
    
                        

    Interface to handle navigation between steps in a flow.

    • Method Detail

      • onNextStepRequest

         abstract Unit onNextStepRequest(String actionId, Boolean isConditional, PLYTransition transition)

        Called when the user requests to navigate to the next step in the flow.

        Parameters:
        actionId - The action ID that triggered the request.
        isConditional - Indicates if the action is conditional.
        transition - The transition to be applied when navigating to the next step: animation, background color and height (if applicable).
      • onCloseRequested

         abstract Unit onCloseRequested(Boolean all)

        Called when the user requests to close the flow or a step in the flow.

        Parameters:
        all - If true, the entire flow is closed and the activity finishes.
      • onPresentationReady

         abstract Unit onPresentationReady(PLYPresentation presentation)

        Called when a presentation is ready to be displayed.

        Parameters:
        presentation - The PLYPresentation that is ready to be displayed.