pub type NfcScannerCallback = Option<unsafe extern "C" fn(event: NfcScannerEvent, context: *mut c_void)>;Expand description
User callback function signature.
A function with such signature must be provided by the user upon calling nfc_scanner_start().
§Arguments
event(direction in) - occurred event, complete with type and data.context(direction in) - pointer to the context data provided in nfc_scanner_start() call.
Aliased Type§
pub enum NfcScannerCallback {
None,
Some(unsafe extern "C" fn(NfcScannerEvent, *mut c_void)),
}