To update the application pass the parameters mentioned in the request parameter table as inputs.
Method: POST
Request parameters
| Parmeter | Description |
|---|---|
handlermandatory | handlersHandlers are used to passing the data and receiving the data between the two classes. |
Current activitymandatory | stringCurrent class or activity |
DeviceTypemandatory | stringIdentifies the type of device Ex: N910 |
Sample request
if (paymentType.equalsIgnoreCase(APP_UPDATE)) {
initialization = new PaymentInitialization(PaymentTransactionActivity.this);
initialization.appUpdate(handler, this, DeviceType.N910);
}
WarningOnce the app is updated It will re-direct to the Intent of MTMS application.
