Ejemplo n.º 1
0
        public MCANotificationService GetMcaNotificationService()
        {
            if (_mcaNotificationService == null)
            {
                _mcaNotificationService = DependencyService.Get <MCANotificationService>();
            }

            return(_mcaNotificationService);
        }
        public BeaconManagerService(Context ctx)
        {
            ApplicationContext  = ctx;
            _monitorNotifier    = new MonitorNotifier();
            _rangeNotifier      = new RangeNotifier();
            logService          = new LogService();
            notificationService = new MCANotificationService();

            InitializeService();

            logService.WriteToLog(LOG_FILENAME, "Contructor");
        }