예제 #1
0
        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);
        }
예제 #2
0
        internal VideoCamera(StoreMediaOptions storeOptions) : base(storeOptions)
        {
            CameraOperationType = OperationType.Video;

            CameraParameters = ComputerParametersFactory.CreateCameraParameters(CameraOperationType);
        }