Exemplo n.º 1
0
 public ManualPageViewModel(INavigationService navigationService,
                            IDeviceService deviceService,
                            IUserDialogService userDialogService,
                            IPlaySoundService playSoundService)
     : base(navigationService, deviceService, userDialogService, playSoundService)
 {
 }
Exemplo n.º 2
0
 public StartHerePageViewModel(INavigationService navigationService,
                               IDeviceService deviceService,
                               IUserDialogService userDialogService,
                               IPlaySoundService playSoundService,
                               ICalculatorService calculatorService)
     : base(navigationService, deviceService, userDialogService, playSoundService)
 {
     CalculatorService = calculatorService;
 }
Exemplo n.º 3
0
 public NavigationBaseViewModel(INavigationService navigationService,
                                IDeviceService deviceService,
                                IUserDialogService userDialogService,
                                IPlaySoundService playSoundService)
 {
     NavigationService = navigationService;
     DeviceService     = deviceService;
     UserDialogService = userDialogService;
     PlaySoundService  = playSoundService;
 }
Exemplo n.º 4
0
        public CallPageViewModel()
        {
            AcceptCall  = new Command(accCall);
            CancelCall  = new Command(cancelCall);
            MuteCall    = new Command(muteCall);
            SpeakerCall = new Command(speakerCall);
            ResumeCall  = new Command(resumeCall);

            playSoundService = DependencyService.Get <IPlaySoundService>();
            speakerPhone     = DependencyService.Get <ISpeakerPhone>();
            firstOpen        = true;
        }