-
- All Implemented Interfaces:
-
com.datadog.android.rum.tracking.ComponentPredicate
public class AcceptAllNavDestinations implements ComponentPredicate<NavDestination>
A predefined ComponentPredicate which accepts all NavDestination to be tracked as a RUM View event. This is the default behaviour for the NavigationViewTrackingStrategy.
-
-
Constructor Summary
Constructors Constructor Description AcceptAllNavDestinations()
-
Method Summary
Modifier and Type Method Description Booleanaccept(NavDestination component)StringgetViewName(NavDestination component)Booleanequals(Object other)IntegerhashCode()-
-
Method Detail
-
accept
Boolean accept(NavDestination component)
- Parameters:
component- a component whose state changed
-
getViewName
String getViewName(NavDestination component)
-
-
-
-