public PhotoMirrorViewModel( IAppContext appContext, IConnectionSignalsHandler connectionSignalsHandler, RemoteCameraService remoteCameraService) { _appContext = appContext; _remoteCameraService = remoteCameraService; _connectionSignalsHandler = connectionSignalsHandler; _connectionSignalsHandler.SetInner(this); }
public TakePhotoViewModel( IPermissionService permissionService, RemoteCameraService remoteCameraService, IConnectionSignalsHandler connectionSignalsHandler) { _connectionSignalsHandler = connectionSignalsHandler; _permissionService = permissionService; _remoteCameraService = remoteCameraService; _connectionSignalsHandler.SetInner(this); }
internal void EndSession() { _connectionSignalsHandler.SetInner(null); NavigationService.NavigateTo(nameof(SessionPhotosViewModel)); }