/// <summary> /// Finishes background processing and releases all resources. /// </summary> public void Dispose() { try { SdkEngine.BeaconActionResolved -= OnBeaconActionResolvedAsync; } finally { SdkEngine.Dispose(); } }
/// <summary> /// De-initializes the SDK. /// </summary> /// <param name="stopScanner">If true, will stop scanner if running.</param> public void Deinitialize(bool stopScanner) { if (IsInitialized) { if (stopScanner) { StopScanner(); } SdkEngine.Dispose(); } AppSettings = null; Dispose(); }