Searched refs:hceService (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/connectivity/nfc/ |
H A D | nfc-hce-guide.md | 84 let hceService: cardEmulation.HceService; 95 hceService.transmit(responseData).then(() => { 124 hceService = new cardEmulation.HceService(); 134 hceService.start(hceElementName, aidList); 137 hceService.on('hceCmd', hceCommandCb); 150 hceService.stop(hceElementName); 220 let hceService: cardEmulation.HceService; 232 hceService.transmit(responseData).then(() => { 261 hceService = new cardEmulation.HceService(); 262 hceService.on('hceCmd', hceCommandCb); [all …]
|
/ohos5.0/docs/en/application-dev/connectivity/nfc/ |
H A D | nfc-hce-guide.md | 91 let hceService: cardEmulation.HceService; 102 hceService.transmit(responseData).then(() => { 131 hceService = new cardEmulation.HceService(); 141 hceService.start(hceElementName, aidList); 144 hceService.on('hceCmd', hceCommandCb); 157 hceService.stop(hceElementName); 227 let hceService: cardEmulation.HceService; 239 hceService.transmit(responseData).then(() => { 268 hceService = new cardEmulation.HceService(); 269 hceService.on('hceCmd', hceCommandCb); [all …]
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/cardEmulation/ |
H A D | nfc_napi_hce_adapter.cpp | 117 NfcNapiHceAdapter* hceService = new NfcNapiHceAdapter(); in Constructor() local 119 if (status != napi_ok && hceService != nullptr) { in Constructor() 121 delete hceService; in Constructor() 122 hceService = nullptr; in Constructor() 239 HceService hceService = HceService::GetInstance(); in RegHceCmdCallbackEvents() local 240 ErrorCode ret = hceService.RegHceCmdCallback(hceCmdListenerEvent, type); in RegHceCmdCallbackEvents() 298 HceService hceService = HceService::GetInstance(); in UnregisterHceEvents() local 299 ErrorCode ret = hceService.StopHce(element); in UnregisterHceEvents() 406 HceService hceService = HceService::GetInstance(); in NativeTransmit() local 503 HceService hceService = HceService::GetInstance(); in StartHCE() local [all …]
|
H A D | nfc_napi_cardEmulation_adapter.cpp | 76 HceService hceService = HceService::GetInstance(); in IsDefaultService() local 77 int statusCode = hceService.IsDefaultService(element, type, isDefaultService); in IsDefaultService() 130 HceService hceService = HceService::GetInstance(); in GetPaymentServices() local 132 int statusCode = hceService.GetPaymentServices(paymentAbilityInfos); in GetPaymentServices()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-cardEmulation.md | 356 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 371 hceService.on('hceCmd', apduCallback); 375 hceService.stop(element) 441 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 445 hceService.transmit(responseData).then(() => { 488 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 494 hceService.transmit(responseData, (err : BusinessError)=> {
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-cardEmulation.md | 356 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 371 hceService.on('hceCmd', apduCallback); 375 hceService.stop(element) 441 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 445 hceService.transmit(responseData).then(() => { 488 let hceService: cardEmulation.HceService = new cardEmulation.HceService(); 494 hceService.transmit(responseData, (err : BusinessError)=> {
|