/// <summary> /// Default constructor /// </summary> public NFCImplementation() { _nfcAdapter = NfcAdapter.GetDefaultAdapter(CurrentContext); IsEnabled = IsAvailable && _nfcAdapter.IsEnabled; Configuration = NfcConfiguration.GetDefaultConfiguration(); }
/// <summary> /// Update NFC configuration /// </summary> /// <param name="configuration"><see cref="NfcConfiguration"/></param> public void SetConfiguration(NfcConfiguration configuration) => Configuration.Update(configuration);
/// <summary> /// Default constructor /// </summary> public NFCImplementation() { _defaultDevice = ProximityDevice.GetDefault(); Configuration = NfcConfiguration.GetDefaultConfiguration(); }
/// <summary> /// Default constructor /// </summary> public NFCImplementation_Before_iOS13() { Configuration = NfcConfiguration.GetDefaultConfiguration(); }
/// <summary> /// Default constructor /// </summary> public NFCImplementation() { Configuration = NfcConfiguration.GetDefaultConfiguration(); }
/// <summary> /// Default constructor /// </summary> public NFCImplementation() { _nfcAdapter = NfcAdapter.GetDefaultAdapter(CurrentContext); Configuration = NfcConfiguration.GetDefaultConfiguration(); }