CustomAlertMessageProvider
public struct CustomAlertMessageProvider : NFCReaderAlertMessageProvider
Provides a custom alert message for the NFC reader, given the active-reading state
-
Creates a new
CustomAlertMessageProviderDeclaration
Swift
public init(provideMessage: @escaping (PassportChipReadingState) -> String?)Parameters
provideMessageProvides the custom alert message
-
Declaration
Swift
public func alertMessage(for state: PassportChipReadingState) -> String?
CustomAlertMessageProvider Structure Reference