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
stateThe active-reading state (substate of
PassportChipReaderState.reading)Return Value
A message to display to the end-user, or
nilto use the included default message
NFCReaderAlertMessageProvider Protocol Reference