/** * For Android Only * The Function OnApplicationPause checks to see of the current state of pausedState is true, * and if the state is true, it accesses the SBRemote classes function and stops it, * otherwise if the pausedStatus is false, then it starts the SBRemote class service. */ void OnApplicationPause(bool pauseStatus) { if (pauseStatus) { SBRemote.StopService(); } else { SBRemote.StartService(); } }