NfcDeviceVerify

Type Alias NfcDeviceVerify 

Source
pub type NfcDeviceVerify = Option<unsafe extern "C" fn(data: *mut NfcDeviceData, device_type: *const FuriString) -> bool>;
Expand description

Deprecated. Do not use in new protocols.

Deprecated do not use in new protocols.

§Arguments

  • data (direction in, out) - pointer to the instance to be tested.
  • device_type (direction in) - pointer to a FuriString containing a device type identifier.

§Returns

true if data was verified, false otherwise.

Aliased Type§

pub enum NfcDeviceVerify {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *const FuriString) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *const FuriString) -> bool)

Some value of type T.