flipperzero_sys

Function nfc_device_set_loading_callback

Source
pub unsafe extern "C" fn nfc_device_set_loading_callback(
    instance: *mut NfcDevice,
    callback: NfcLoadingCallback,
    context: *mut c_void,
)
Expand description

Set the loading callback function.

ยงArguments

  • instance (direction in, out) - pointer to the instance to be modified.
  • callback (direction in) - pointer to a function to be called when the load operation completes.
  • context (direction in) - pointer to a user-specific context (will be passed to the callback).