Ejemplo n.º 1
0
        public BackgroundManager()
        {
            localSettings = ApplicationData.Current.LocalSettings;
            var configResources = Windows.ApplicationModel.Resources.ResourceLoader.GetForCurrentView("config");

            notificationHubName     = configResources.GetString("NotificationHubName");
            notificationHubEndpoint = configResources.GetString("NotificationHubEndpoint");
            client = DigitServiceBuilder.Get();
        }
Ejemplo n.º 2
0
 public BatteryService(DigitBLEClient digitBLEClient, IDigitServiceClient digitServiceClient)
 {
     this.digitBLEClient     = digitBLEClient;
     this.digitServiceClient = digitServiceClient;
 }
 public LocationService(IDigitServiceClient client)
 {
     this.client = client;
 }