public static interface KitIntegration.EventListener
Modifier and Type | Method and Description |
---|---|
java.util.List<ReportingMessage> |
leaveBreadcrumb(java.lang.String breadcrumb)
The mParticle SDK exposes a breadcrumb API, allowing developers to track transactions as they occur.
|
java.util.List<ReportingMessage> |
logError(java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> errorAttributes)
The mParticle SDK exposes an error API, allowing developers to keep track of handled errors.
|
java.util.List<ReportingMessage> |
logEvent(MPEvent event)
The mParticle SDK exposes a general event API, allowing developers to keep track of any activity with their app.
|
java.util.List<ReportingMessage> |
logException(java.lang.Exception exception,
java.util.Map<java.lang.String,java.lang.String> exceptionAttributes,
java.lang.String message)
The mParticle SDK exposes an exception API, allowing developers to keep track of handled exceptions.
|
java.util.List<ReportingMessage> |
logScreen(java.lang.String screenName,
java.util.Map<java.lang.String,java.lang.String> screenAttributes)
The mParticle SDK exposes a screen-view API, allowing developers to keep track of screens that are viewed by the user.
|
java.util.List<ReportingMessage> leaveBreadcrumb(java.lang.String breadcrumb)
breadcrumb
- a human-readable, typically short label of a step in a transaction, funnel, etcjava.util.List<ReportingMessage> logError(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> errorAttributes)
message
- a description of the errorerrorAttributes
- optional attributes to associate with the errorjava.util.List<ReportingMessage> logException(java.lang.Exception exception, java.util.Map<java.lang.String,java.lang.String> exceptionAttributes, java.lang.String message)
exception
- the exception that was caughtmessage
- a description of the errorexceptionAttributes
- optional attributes to associate with the errorjava.util.List<ReportingMessage> logEvent(MPEvent event)
event
- the MPEvent that was logged.java.util.List<ReportingMessage> logScreen(java.lang.String screenName, java.util.Map<java.lang.String,java.lang.String> screenAttributes)
screenName
- the name of the screenscreenAttributes
- optional Map of attributes associated with this event