-
public interface ComponentPredicate<T extends Object>Used to decide which Android component of your application should be considered as a RUM View Event instance in a ViewTrackingStrategy.
-
-
Method Summary
-
-
Method Detail
-
accept
abstract Boolean accept(T component)
Decides whether the provided component should be considered as a RUM View. Make sure you are consistent when you validate a component otherwise you may experience some weird behaviours (e.g. by returning true in a first interrogation for a component followed by false in a second interrogation we might alter the data in the in progress View event or we might close the current valid View prematurely).
- Parameters:
component- a component whose state changed
-
getViewName
abstract String getViewName(T component)
Sets a custom name for the tracked RUM View.
-
-
-
-