-
- All Implemented Interfaces:
public class CardInteractionEvent extends ApplicationEvent
CardInteractionEvent Schema model object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
CardInteractionEvent.CardInteractionActionType
public class
CardInteractionEvent.Builder
-
Method Summary
Modifier and Type Method Description CardInteractionEvent.CardInteractionActionType
getAction()
The action that the user takes on the card CardTriggerType
getTrigger()
What triggered this event. String
getTriggerCause()
Any english description of cause of the trigger String
getImpressionId()
The identifier of the impression associated with an instance of cards displayed PredictiveListItem
getPredictiveCard()
All of the details associated with the predictive card selected. InteractionMethodValue
getInteractionMethod()
The for each user interaction log the interation method EventType
getEventType()
Get CardInteractionEvent's EventType static CardInteractionEvent.Builder
builder()
-
Methods inherited from class com.telenav.sdk.datacollector.model.event.ApplicationEvent
getEventData
-
Methods inherited from class com.telenav.sdk.datacollector.model.event.Event
getFormatType, getLogContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAction
CardInteractionEvent.CardInteractionActionType getAction()
The action that the user takes on the card
-
getTrigger
CardTriggerType getTrigger()
What triggered this event. SYSTEM - when system decide to hide the card for any reason e.g. Auto-hide, user not following the predicted route etc. trigger_cause will have additional information on this. USER - When user explicitly triggers the event
-
getTriggerCause
String getTriggerCause()
Any english description of cause of the trigger
-
getImpressionId
String getImpressionId()
The identifier of the impression associated with an instance of cards displayed
-
getPredictiveCard
PredictiveListItem getPredictiveCard()
All of the details associated with the predictive card selected. Structure of this is same as the one item in predictive_card_list array in predictive_cards event
-
getInteractionMethod
InteractionMethodValue getInteractionMethod()
The for each user interaction log the interation method
-
getEventType
EventType getEventType()
Get CardInteractionEvent's EventType
-
builder
static CardInteractionEvent.Builder builder()
-
-
-
-