activatePaymentInSlientMode
Call the activatePaymentInSlientMode API to activate the Host Card Emulation (HCE) payment function in silent mode.
Note: The method name contains a known spelling error in the shipped SDK activatePaymentInSlientMode (not activatePaymentInSilentMode). Use this exact spelling when calling the method. The correctly spelled variant does not exist in the SDK.
Method signature
copy
public void activatePaymentInSlientMode()Request parameter
N/A
Response parameter
This API returns no value to the caller. It is equivalent to calling activatePayment with NFCActivateParams.setSilentActivate(true) and a null callback.
To receive the activation outcome, register an ActivateStatusListener before calling this API.
Sample
copy
ACTapManager manager = ACTapManager.getInstance(this.getApplication())
manager.activatePaymentInSlientMode()