NfcDeviceGetName

Type Alias NfcDeviceGetName 

Source
pub type NfcDeviceGetName = Option<unsafe extern "C" fn(data: *const NfcDeviceData, name_type: NfcDeviceNameType) -> *const c_char>;
Expand description

Get a protocol-specific stateful NFC device name.

The return value may change depending on the instance’s internal state and the name_type parameter.

§Arguments

  • data (direction in) - pointer to the instance to be queried.
  • name_type (direction in) - type of the name to be displayed.

§Returns

pointer to a statically allocated character string containing the appropriate name.

Aliased Type§

pub enum NfcDeviceGetName {
    None,
    Some(unsafe extern "C" fn(*const c_void, NfcDeviceNameType) -> *const u8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, NfcDeviceNameType) -> *const u8)

Some value of type T.