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(); }
public BatteryService(DigitBLEClient digitBLEClient, IDigitServiceClient digitServiceClient) { this.digitBLEClient = digitBLEClient; this.digitServiceClient = digitServiceClient; }
public LocationService(IDigitServiceClient client) { this.client = client; }