NFCReaderAlertMessageProvider
public protocol NFCReaderAlertMessageProvider
Provides an alert message for the NFC reader, given the active-reading state
For suggestions on providing good messaging, see the Human Interface Guidelines.
-
Provides the alert message for the NFC reader
Declaration
Swift
func alertMessage(for state: PassportChipReadingState) -> String?
Parameters
state
The active-reading state (substate of
PassportChipReaderState.reading
)Return Value
A message to display to the end-user, or
nil
to use the included default message