Package io.keikai.ui

Interface UserActionManager

    • Method Detail

      • registerHandler

        void registerHandler​(String category,
                             String action,
                             UserActionHandler handler)
        Register a handler to the handler list of category/action, append to the last handler of same category/action.
        Parameters:
        category - the category of the handler
        action - the action of the handler
        handler - the handler
      • setHandler

        void setHandler​(String category,
                        String action,
                        UserActionHandler handler)
        set a handler to the handler list of category/action, it will remove all other handlers in same category/action
        Parameters:
        category - the category of the handler
        action - the action of the handler
        handler - the handler