public static final class Event.Custom extends Event
LDClientInterface.track(String, LDUser)
or one of its overloads.Event.Custom, Event.FeatureRequest, Event.Identify, Event.Index
public Custom(long timestamp, java.lang.String key, LDUser user, LDValue data, java.lang.Double metricValue)
timestamp
- the timestamp in millisecondskey
- the event keyuser
- the user associated with the eventdata
- custom data if any (null is the same as LDValue.ofNull()
)metricValue
- custom metric value if any@Deprecated public Custom(long timestamp, java.lang.String key, LDUser user, com.google.gson.JsonElement data)
timestamp
- the timestamp in millisecondskey
- the event keyuser
- the user associated with the eventdata
- custom data if any (null is the same as LDValue.ofNull()
)