PXTrackingListener instead.@Deprecated
public interface PXEventListener<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(T event)
Deprecated.
Deprecated due to new tracking implementation standards.
Use
PXTrackingListener.onEvent(String, Map) instead. |
void |
onScreenLaunched(java.lang.String screenId,
java.util.Map<java.lang.String,java.lang.String> extraParams)
Deprecated.
Deprecated due to new tracking implementation standards.
Use
PXTrackingListener.onView(String, Map) instead. |
@Deprecated
void onScreenLaunched(@NonNull
java.lang.String screenId,
@NonNull
java.util.Map<java.lang.String,java.lang.String> extraParams)
PXTrackingListener.onView(String, Map) instead.screenId - Id of the screen that is shown. Screen Ids start with prefixes that are described
in TrackingUtil.java, under the key SCREEN_ID.
Example:
TrackingUtil.VIEW_PATH_PAYMENT_RESULT_APPROVEDextraParams - Map containing information that the screen is showing. It also contains information
about errors if the screen launched is the Error screen.
The keys of the map are the ones described under the key PROPERTY in TrackingUtil.java.
Example:
Key = TrackingUtil.PROPERTY_ERROR_CODE@Deprecated
void onEvent(@NonNull
T event)
PXTrackingListener.onEvent(String, Map) instead.event - Information of the event