setting
Call the setting API to enable the NFC payment function.
Method signature
copy
fun setting(activity: Activity, apduServiceName: String)Request parameters
Item | Type | Description | Required |
activity | Activity | The context of the current NFC settings page. | Required |
apduServiceName | String | The customized APDU service name during integration. | Required |
Response parameters
N/A
Sample
copy
private fun openNfcSettings() {
ApplyCardActivity.setting(activity = activity, apduServiceName = "com.iap.android.tappayment.verify.hce.IAPNFCHostApduService")
}