Class D1HCEService

java.lang.Object
D1HCEServiceImpl
com.thalesgroup.gemalto.d1.d1pay.D1HCEService

public class D1HCEService extends D1HCEServiceImpl
The HCE service for NFC communication during a contactless payment transaction.

The mobile application has to register this service in its manifest file. Refer to Register HCE Service for the instructions on Android HCE service.

An example of the registration:

     
    <service
         android:name="com.thalesgroup.gemalto.d1.d1pay.D1HCEService"
         android:exported="true"
         android:permission="android.permission.BIND_NFC_SERVICE">
         <intent-filter>
             <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE" />
             <category android:name="android.intent.category.DEFAULT" />
         </intent-filter>

         <meta-data
             android:name="android.nfc.cardemulation.host_apdu_service"
             android:resource="@xml/apduservice" />
     </service>
     
 
Since:
2.0.0
  • Constructor Details

    • D1HCEService

      public D1HCEService()