Skip to content

NfcConfiguration

Struct that handles the configuration of all configurable properties.

If created without parameters, it will generate the default values for all configurations.

Values

public enum Language

Default language for configurations.

If no language is selected, it is automatically calculated retrieving the current locale of the device. If ES is the current locale, ES is the default language. EN will be set as default otherwise.

  • ES: Spanish.
  • EN: English.

Properties

public var description: String { get }

Description of the parameters.

Public Methods

public init(
 tutorialConfiguration: NfcTutorialConfiguration = NfcTutorialConfiguration(),
 keysAlertConfiguration: NfcKeysAlertConfiguration = NfcKeysAlertConfiguration(),
 helpMessagesConfiguration: NfcHelpMessagesConfiguration = NfcHelpMessagesConfiguration()
)

Constructor of the class. If no parameter is introduced it will create default configurations

Parameters:

  • tutorialConfiguration: configuration of the tutorial view.
  • keysAlertConfiguration: configuration of the bad keys alert.
  • helpMessagesConfiguration: configuration of the help messages.