blob: 3e24b361be9c3f9d39c0a6ad65e18e85094e9d94 [file] [log] [blame]
Andreas Hubera4831392016-07-29 15:05:03 -07001package android.hardware.nfc@1.0;
2
Zhuoyao Zhang80b6a122016-08-10 22:37:34 -07003@hal_type(type="NFC")
Andreas Hubera4831392016-07-29 15:05:03 -07004interface 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};