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