public interface IPoyntActivationServiceListener
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntActivationServiceListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onLaunchActivity(android.content.Intent intent,
java.lang.String requestId)
Callback method when activation service provider needs to collect additional information from
merchant or consumer.
|
void |
onResponse(co.poynt.api.model.Business businessData,
PoyntError poyntError,
java.lang.String requestId)
Callback function for startActivation(),
Use this callback to Pass back the business object.
|
void onResponse(co.poynt.api.model.Business businessData, PoyntError poyntError, java.lang.String requestId) throws android.os.RemoteException
businessData
- Business
poyntError
- co.poynt.api.model.PoyntError
return non-null
object in case of errorrequestId
- Request id of the callerandroid.os.RemoteException
void onLaunchActivity(android.content.Intent intent, java.lang.String requestId) throws android.os.RemoteException
Intent
- Intent will be used to call startActivityOnResult
When activity finishes it is expected to return Business parcel in the result
resultIntent = new Intent();
resultIntent.putExtra("data", businessObject);
setResult(RESULT_OK, resultIntent);
requestId
- Request id of the callerandroid.os.RemoteException