Package com.brightcove.player.analytics
Interface IAnalyticsHandler.ProcessListener
- Enclosing interface:
- IAnalyticsHandler
public static interface IAnalyticsHandler.ProcessListener
A listener that can receive callback notification from the 
DefaultAnalyticsHandler
 after processing an event.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic @interfaceList of possibles results.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intValue of an outcome, where the event was dropped because the event could not processed successfully and the event was deemed unimportant to attempt try again later.static final intValue of an outcome, where the event could not be processed because handler encountered an error while attempting to process the event.static final intValue of an outcome, where the event could not be processed immediately and the event was deemed important to be backlogged and tried again later.static final intValue of an outcome, where the event was processed successfully.
- 
Method SummaryModifier and TypeMethodDescriptionvoidonProcessed(com.brightcove.player.analytics.AnalyticsEvent event, int result, Exception cause) This method will be called by theDefaultAnalyticsHandlerattempting to process anAnalyticsEvent.
- 
Field Details- 
OUTCOME_DROPPEDstatic final int OUTCOME_DROPPEDValue of an outcome, where the event was dropped because the event could not processed successfully and the event was deemed unimportant to attempt try again later.- See Also:
 
- 
OUTCOME_SUBMITTEDstatic final int OUTCOME_SUBMITTEDValue of an outcome, where the event was processed successfully.- See Also:
 
- 
OUTCOME_SAVEDstatic final int OUTCOME_SAVEDValue of an outcome, where the event could not be processed immediately and the event was deemed important to be backlogged and tried again later.- See Also:
 
- 
OUTCOME_FAILEDstatic final int OUTCOME_FAILEDValue of an outcome, where the event could not be processed because handler encountered an error while attempting to process the event.- See Also:
 
 
- 
- 
Method Details- 
onProcessedvoid onProcessed(@NonNull com.brightcove.player.analytics.AnalyticsEvent event, int result, @Nullable Exception cause) This method will be called by theDefaultAnalyticsHandlerattempting to process anAnalyticsEvent.- Parameters:
- event- reference to the event that was processed.
- result- the result of the attempt
- cause- reference to the underlying exception, if any
 
 
-