Splunk MINT SDK for Android  4.4
 All Classes Namespaces Files Functions Variables
com.splunk.mint.MintCallback Interface Reference

Public Member Functions

void netSenderResponse (NetSenderResponse nsr)
 
void dataSaverResponse (DataSaverResponse dsr)
 
void lastBreath (Exception exception)
 

Member Function Documentation

void com.splunk.mint.MintCallback.dataSaverResponse ( DataSaverResponse  dsr)

The dataSaverResponse function is called whenever the SDK tries to save something locally. This function returns a DataSaverResponse object with all of the information.

Parameters
dsrThe DataSaverResponse object.
void com.splunk.mint.MintCallback.lastBreath ( Exception  exception)

The lastBreath function is called after an exception has been caught and before the app terminates.

Note: Be careful when using the lastBreath function because it blocks the thread while running.

Parameters
exceptionThe exception that caused the crash.
void com.splunk.mint.MintCallback.netSenderResponse ( NetSenderResponse  nsr)

The netSenderResponse function is called whenever the SDK tries to send something over the network. The function returns a NetSenderResponse object with all of the information.

Parameters
nsrThe NetSenderResponse object.

The documentation for this interface was generated from the following file: