/// <summary> /// Unregisters the NFC callback. /// </summary> private void UnregisterNfcCallback() { if (_monitor != null) { _monitor.Stop(); _monitor = null; } }
private void UnregisterNfcCallback() { if (this.monitor != null) { this.monitor.Stop(); this.monitor = null; } }
private void RegisterNfcCallback() { UnregisterNfcCallback(); this.monitor = new NfcMonitor(this); this.monitor.Start(); }
/// <summary> /// Registers the NFC callback. /// </summary> private void RegisterNfcCallback() { UnregisterNfcCallback(); _monitor = new NfcMonitor(this); _monitor.Start(); }