SandboxedSdkProvider.DataReceivedCallback
public
static
interface
SandboxedSdkProvider.DataReceivedCallback
android.app.sdksandbox.SandboxedSdkProvider.DataReceivedCallback |
Callback for tracking the status of data received from the client application.
This callback is created by the SDK sandbox. SDKs can use it to notify the SDK sandbox about the status of processing the data received.
Summary
Public methods | |
---|---|
abstract
void
|
onDataReceivedError(String errorMessage)
If the SDK fails to process the data received from the client application, it can call this method on the callback object. |
abstract
void
|
onDataReceivedSuccess(Bundle params)
After the SDK has completed processing the data received, it can call this method on the callback object and pass back any data if needed. |
Public methods
onDataReceivedError
public abstract void onDataReceivedError (String errorMessage)
If the SDK fails to process the data received from the client application, it can call this method on the callback object.
Parameters | |
---|---|
errorMessage |
String : a String description of the error
This value cannot be null . |
onDataReceivedSuccess
public abstract void onDataReceivedSuccess (Bundle params)
After the SDK has completed processing the data received, it can call this method on the callback object and pass back any data if needed.
Parameters | |
---|---|
params |
Bundle : list of params to be passed to the client application.
This value cannot be null . |