コード例 #1
0
 public PhotoMirrorViewModel(
     IAppContext appContext,
     IConnectionSignalsHandler connectionSignalsHandler,
     RemoteCameraService remoteCameraService)
 {
     _appContext               = appContext;
     _remoteCameraService      = remoteCameraService;
     _connectionSignalsHandler = connectionSignalsHandler;
     _connectionSignalsHandler.SetInner(this);
 }
コード例 #2
0
 public TakePhotoViewModel(
     IPermissionService permissionService,
     RemoteCameraService remoteCameraService,
     IConnectionSignalsHandler connectionSignalsHandler)
 {
     _connectionSignalsHandler = connectionSignalsHandler;
     _permissionService        = permissionService;
     _remoteCameraService      = remoteCameraService;
     _connectionSignalsHandler.SetInner(this);
 }
コード例 #3
0
 internal void EndSession()
 {
     _connectionSignalsHandler.SetInner(null);
     NavigationService.NavigateTo(nameof(SessionPhotosViewModel));
 }