-
- All Implemented Interfaces:
public final class ApiEventKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanshouldSkipEvent(ApiEvent $self)Determine if this event should be skipped. -
-
Method Detail
-
shouldSkipEvent
final static Boolean shouldSkipEvent(ApiEvent $self)
Determine if this event should be skipped. If not, it should be sent to the API. To determine whether we should send API events for a given user ID, we will use the following rule: If the number represented in hexadecimal by the last two characters of the user ID, divided by 255, is lower than or equal to (<=) the sampling rate, then the user is a member of our sample and we should send the events to the API.
-
-
-
-