Param
Annotation for parameter of event method.
This annotation provides parameter name and specify behaviour for parameter value conversion.
Example usage:
// ...
@Event
fun exampleEvent(
@Param(
name = "Parameter name",
strategy = TrackStrategy.SKIP_IF_NULL,
) count: Int?,
)
// ...
Content copied to clipboard
Parameters
name
Name of parameter that would be tracked. Required parameter.
strategy
Specify value conversion behavior. By default, it is set to TrackStrategy.DEFAULT. More about strategies: TrackStrategy.