Class NavigationClearStackEvent

java.lang.Object
no.ntnu.principes.event.PrincipesEvent<UUID>
no.ntnu.principes.event.navigation.NavigationClearStackEvent

public class NavigationClearStackEvent extends PrincipesEvent<UUID>
Represents an event that clears the navigation stack.
  • Constructor Details

    • NavigationClearStackEvent

      public NavigationClearStackEvent(UUID payload)
      Creates a navigation event that clears the entire navigation stack. This event is used when resetting a navigation hierarchy is required.
      Parameters:
      payload - a UUID representing the unique identifier associated with this event, which can be used for tracking or correlation purposes.