The DataSaverResponse class is a callback from the MintCallback interface, which returns a DataSaverResponse object for a data save attempt. This object contains information about the data to be saved, the file path, the exception (if any, or null
), and a Boolean indicating whether the data was saved successfully.
com.splunk.mint.DataSaverResponse.DataSaverResponse |
( |
String |
data, |
|
|
String |
filepath |
|
) |
| |
|
protected |
Protected constructor for the DataSaverResponse class. Users will never use this constructor.
String com.splunk.mint.DataSaverResponse.getData |
( |
| ) |
|
Returns the data that was saved.
- Returns
- The data.
Exception com.splunk.mint.DataSaverResponse.getException |
( |
| ) |
|
Returns an exception, if any.
- Returns
- The exception or
null
.
String com.splunk.mint.DataSaverResponse.getFilepath |
( |
| ) |
|
Returns the file path where the data was written.
- Returns
- The file path.
Boolean com.splunk.mint.DataSaverResponse.getSavedSuccessfully |
( |
| ) |
|
Indicates whether the data was saved successfully.
- Returns
true
if successful, false
if not.
void com.splunk.mint.DataSaverResponse.setException |
( |
Exception |
exception | ) |
|
|
protected |
Sets the exception, if any.
- Parameters
-
void com.splunk.mint.DataSaverResponse.setSavedSuccessfully |
( |
Boolean |
savedSuccessfully | ) |
|
|
protected |
Indicates whether the data was saved successfully.
- Parameters
-
savedSuccessfully | true if successful, false if not. |
The documentation for this class was generated from the following file:
- /Users/apruneda/Documents/Draze/BugsenseRepos/mint-android-sdk/src/com/splunk/mint/DataSaverResponse.java