NfcHelpMessagesConfiguration¶
Struct that handles the configuration of the error alert configurable properties.
If created without parameters, it will generate the default values for all parameters.
Properties¶
public var description: String { get }
Description of the parameters.
Public Methods¶
public init(
initialMessage: String? = nil,
severalTagsMessage: String? = nil,
authenticatingMessage: String? = nil,
readingMessage: String? = nil,
keysErrorMessage: String? = nil,
userCancelledMessage: String? = nil,
unexpectedErrorMessage: String? = nil,
successMessage: String? = nil,
defaultLanguage: NfcConfiguration.Language? = nil
)
Constructor of the class. All parameters are optional and their default value is nil. If no parameter is introduced it will create default configurations.
-
Parameters:
- initialMessage: first message that appears when the NFC has started scanning.
- severalTagsMessage: message shown when more than one NFC tag has been found.
- authenticatingMessage: message shown when the authentication process is being carried.
- readingMessage: message shown when the NFC data is being retrieved.
- keysErrorMessage: message shown when the wrong keys have been set.
- userCancelledMessage: message shown when the user cancelled the NFC scanning.
- unexpectedErrorMessage: message shown when an unexpected error occurs.
- successMessage: message shown when the NFC data is successfully read.
- defaultLanguage: default language used for not configured parameters.