Annotation Interface EventName
Provides the event name for an analytics event.
If it is specified on a method, the method will be invoked to determine the name of the event. This provides a way to dynamically calculate the name of the event.
Only methods with zero parameters are supported.
If there are more than one, the first one that has this annotation from the array returns by
Class.getMethods() will be used.
If it is specified on a class, the value will be taken as the name of the event. This provides a quick way to specific a static name for the event.
- Since:
- v2.25
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueProvides the event name for an analytics event.- Default:
- ""
-