@Deprecated public abstract class TrackNotificationListener extends java.lang.Object implements NotificationHandler<TrackNotification>, NotificationListener, TrackNotificationListenerInterface
| Constructor and Description |
|---|
TrackNotificationListener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(TrackNotification message)
Deprecated.
|
void |
notify(java.lang.Object... args)
Deprecated.
|
abstract void |
onTrack(java.lang.String eventKey,
java.lang.String userId,
java.util.Map<java.lang.String,?> attributes,
java.util.Map<java.lang.String,?> eventTags,
LogEvent event)
Deprecated.
onTrack is called when a track event is triggered
|
@Deprecated public final void notify(java.lang.Object... args)
handle(TrackNotification)notify in interface NotificationListenerargs - - variable argument list based on the type of notification.public final void handle(TrackNotification message)
handle in interface NotificationHandler<TrackNotification>public abstract void onTrack(@Nonnull
java.lang.String eventKey,
@Nonnull
java.lang.String userId,
@Nonnull
java.util.Map<java.lang.String,?> attributes,
@Nonnull
java.util.Map<java.lang.String,?> eventTags,
@Nonnull
LogEvent event)
onTrack in interface TrackNotificationListenerInterfaceeventKey - - The event key that was triggered.userId - - user id passed into track.attributes - - filtered attributes list after passed into trackeventTags - - event tags if any were passed in.event - - The event being recorded.