internal PhotoCamera(StoreMediaOptions storeOptions) : base(storeOptions) { CameraOperationType = OperationType.Photo; // Factory's instance created to store itself in static field new CaptureStateFactory(RunPreCaptureSequence, CaptureStillPhoto); _imageAvailableHandler = new ImageAvailableHandler(StoreOptions, CameraBackgroundHandler, MediaPickerActivity); CameraParameters = ComputerParametersFactory.CreateCameraParameters(CameraOperationType); }
internal VideoCamera(StoreMediaOptions storeOptions) : base(storeOptions) { CameraOperationType = OperationType.Video; CameraParameters = ComputerParametersFactory.CreateCameraParameters(CameraOperationType); }