public FeedbackViewModel(FeedbacksFactory factory, IAudioRecorderService audioRecorder) { SaveCommand = factory.GetSaveFeedbackCommand(this); AudioRecorder = audioRecorder; StartRecordingCommand = new StartRecordingCommand(this); StopRecordingCommand = new StopRecordingCommand(this); SpeechToTextCommand = factory.GetSpeechToTextCommand(this); PropertyChanged += OnViewModelPropertyChanged; }
public ClientConfigurationPacketHandler(IPacketSerialiser packetSerialiser, INetworkClient client, IServiceController serviceController, IAudioRecorderService recorderService, ICameraRecorderService cameraRecorderService, ILocalizationService localizationService) : base(packetSerialiser) { this.client = client; this.serviceController = serviceController; this.recorderService = recorderService; this.cameraRecorderService = cameraRecorderService; this.localizationService = localizationService; }
public MainViewModel(IMvxNavigationService navigationService, IMySeriesDataService dataService, IAudioRecorderService recorderService, ICognitiveService cognitiveService) { this.navigationService = navigationService; this.exploreViewModel = new ExploreViewModel(navigationService, dataService); this.upcomingViewModel = new UpcomingViewModel(dataService); this.profileViewModel = new ProfileViewModel(recorderService, cognitiveService); }
public AndroidServiceController(IAudioRecorderService recorderService, ILocalizationService localizationService) { this.services.Add(recorderService); this.services.Add(localizationService); }