public void OnPause() { OnServicePausing(); // Disable all service components when service is pausing Enabled = false; OnServicePaused(); }