Andreas Huber | a483139 | 2016-07-29 15:05:03 -0700 | [diff] [blame] | 1 | package android.hardware.nfc@1.0; |
| 2 | |
Zhuoyao Zhang | 80b6a12 | 2016-08-10 22:37:34 -0700 | [diff] [blame] | 3 | @hal_type(type="NFC") |
Andreas Huber | a483139 | 2016-07-29 15:05:03 -0700 | [diff] [blame] | 4 | interface INfcClientCallback { |
| 5 | /* |
| 6 | * The callback passed in from the NFC stack that the HAL |
| 7 | * can use to pass events back to the stack. |
| 8 | */ |
| 9 | sendEvent(nfc_event_t event, nfc_status_t event_status); |
| 10 | |
| 11 | /* |
| 12 | * The callback passed in from the NFC stack that the HAL |
| 13 | * can use to pass incomming data to the stack. |
| 14 | */ |
| 15 | sendData(nfc_data_t data); |
| 16 | }; |