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§
pub enum NfcGenericCallbackEx {
None,
Some(unsafe extern "C" fn(NfcGenericEventEx, *mut c_void) -> NfcCommand),
}Variants§
None
No value.
Some(unsafe extern "C" fn(NfcGenericEventEx, *mut c_void) -> NfcCommand)
Some value of type T.