예제 #1
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public NFCImplementation()
        {
            _nfcAdapter = NfcAdapter.GetDefaultAdapter(CurrentContext);
            IsEnabled   = IsAvailable && _nfcAdapter.IsEnabled;

            Configuration = NfcConfiguration.GetDefaultConfiguration();
        }
예제 #2
0
 /// <summary>
 /// Update NFC configuration
 /// </summary>
 /// <param name="configuration"><see cref="NfcConfiguration"/></param>
 public void SetConfiguration(NfcConfiguration configuration) => Configuration.Update(configuration);
예제 #3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public NFCImplementation()
 {
     _defaultDevice = ProximityDevice.GetDefault();
     Configuration  = NfcConfiguration.GetDefaultConfiguration();
 }
예제 #4
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public NFCImplementation_Before_iOS13()
 {
     Configuration = NfcConfiguration.GetDefaultConfiguration();
 }
예제 #5
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public NFCImplementation()
 {
     Configuration = NfcConfiguration.GetDefaultConfiguration();
 }
예제 #6
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public NFCImplementation()
 {
     _nfcAdapter   = NfcAdapter.GetDefaultAdapter(CurrentContext);
     Configuration = NfcConfiguration.GetDefaultConfiguration();
 }