private void OnApplicationPause(bool paused) { BluetoothLEHardwareInterface.PauseMessages(paused); this.m_appPaused = paused; }