public interface NavigationFilter
Modifier and Type | Interface and Description |
---|---|
static class |
NavigationFilter.AccessCheckResult |
Modifier and Type | Field and Description |
---|---|
static int |
HIGHEST_PLATFORM_PRECEDENCE
Defines the highest precedence for
Ordered or
Order access filters. |
static int |
LOWEST_PLATFORM_PRECEDENCE
Defines the lowest precedence for
Ordered or
Order access filters. |
Modifier and Type | Method and Description |
---|---|
NavigationFilter.AccessCheckResult |
allowed(NavigationState fromState,
NavigationState toState)
Checks whether
fromState to toState navigation is allowed or not. |
static final int HIGHEST_PLATFORM_PRECEDENCE
Ordered
or
Order
access filters.static final int LOWEST_PLATFORM_PRECEDENCE
Ordered
or
Order
access filters.NavigationFilter.AccessCheckResult allowed(NavigationState fromState, NavigationState toState)
fromState
to toState
navigation is allowed or not.fromState
- from statetoState
- to state