Type Alias flipperzero_sys::NfcGenericCallbackEx
source · pub type NfcGenericCallbackEx = Option<unsafe extern "C" fn(event: NfcGenericEventEx, context: *mut c_void) -> NfcCommand>;Expand description
Extended generic Nfc event callback type.
A function of this type must be passed as the callback parameter upon extended start of a poller.
§Arguments
[in]- event Nfc extended generic event, passed by value, complete with protocol type and data.[in,out]- context pointer to the user-specific context (set when starting a poller/listener instance).
§Returns
the command which the event producer must execute.
Aliased Type§
enum NfcGenericCallbackEx {
None,
Some(unsafe extern "C" fn(_: NfcGenericEventEx, _: *mut c_void) -> u8),
}