/// <summary>Initializes a new instance of the <see cref="FitbitService"/> class.</summary> /// <param name="breatheServices">The breathe services.</param> public FitbitService(IBreatheServices breatheServices) { this.breatheServices = breatheServices; this.api = new BreatheFitBitApi( "fitbit", FitbitSettings.ClientID, FitbitSettings.ClientSecret, false, FitbitSettings.RedirectUrl) { Scopes = FitbitSettings.Scope.Split(' ').ToArray(), AutoAuthenticate = false }; }
/// <summary> /// Initializes a new instance of the <see cref="MainViewModel"/> class. /// </summary> /// <param name="breatheServices"> /// The breathe services. /// </param> public MainViewModel(IBreatheServices breatheServices) : base(breatheServices) { }
/// <summary> /// Initializes a new instance of the <see cref="BluetoothViewModel"/> class. /// </summary> /// <param name="breatheServices"> /// The breathe services. /// </param> public BluetoothViewModel(IBreatheServices breatheServices) : base(breatheServices) { this.bluetoothManager = this.BreatheServices.BluetoothManager; this.scanResultsLock = new object(); }
/// <summary> /// Initializes a new instance of the <see cref="BaseViewModel"/> class. /// </summary> /// <param name="breatheServices"> /// The breathe services. /// </param> public BaseViewModel(IBreatheServices breatheServices) { this.BreatheServices = breatheServices; }
/// <summary> /// Initializes a new instance of the <see cref="FitbitViewModel"/> class. /// </summary> /// <param name="breatheServices"> /// The breathe services. /// </param> public FitbitViewModel(IBreatheServices breatheServices) : base(breatheServices) { }