public Runtime() { _interface = new BackendInterface(this); _events = new Events(); CoreApplication.Exiting += OnApplicationExiting; CoreApplication.Resuming += OnApplicationResuming; CoreApplication.Suspending += OnApplicationSuspending; if (_hasBackgroundAccess) Init(); else PushEvent(RequestType.BackgroundAccess); }
public Runtime() { _interface = new BackendInterface(this); _events = new Events(); CoreApplication.Exiting += OnApplicationExiting; CoreApplication.Resuming += OnApplicationResuming; CoreApplication.Suspending += OnApplicationSuspending; if (_hasBackgroundAccess) { Init(); } else { PushEvent(RequestType.BackgroundAccess); } }