public function exposure($mode)
    {
        $exposureModes = [
            self::EXPOSURE_AUTO,
            self::EXPOSURE_NIGHT,
            self::EXPOSURE_NIGHTPREVIEW,
            self::EXPOSURE_BACKLIGHT,
            self::EXPOSURE_SPOTLIGHT,
            self::EXPOSURE_SPORTS,
            self::EXPOSURE_SNOW,
            self::EXPOSURE_BEACH,
            self::EXPOSURE_VERYLONG,
            self::EXPOSURE_FIXEDFPS,
            self::EXPOSURE_ANTISHAKE,
            self::EXPOSURE_FIREWORKS,
        ];

        $this->assertInArray($mode, $exposureModes);

        $this->valueArguments['exposure'] = $mode;

        return $this;
    }
public function exposure($mode)
    {
        $exposureModes = [
            self::EXPOSURE_AUTO,
            self::EXPOSURE_NIGHT,
            self::EXPOSURE_NIGHTPREVIEW,
            self::EXPOSURE_BACKLIGHT,
            self::EXPOSURE_SPOTLIGHT,
            self::EXPOSURE_SPORTS,
            self::EXPOSURE_SNOW,
            self::EXPOSURE_BEACH,
            self::EXPOSURE_VERYLONG,
            self::EXPOSURE_FIXEDFPS,
            self::EXPOSURE_ANTISHAKE,
            self::EXPOSURE_FIREWORKS,
        ];

        $this->assertInArray($mode, $exposureModes);

        $this->valueArguments['exposure'] = $mode;

        return $this;
    }
public function exposure ( $ mode ) { $ exposureModes = [ self :: EXPOSURE_AUTO , self :: EXPOSURE_NIGHT , self :: EXPOSURE_NIGHTPREVIEW , self :: EXPOSURE_BACKLIGHT , self :: EXPOSURE_SPOTLIGHT , self :: EXPOSURE_SPORTS , self :: EXPOSURE_SNOW , self :: EXPOSURE_BEACH , self :: EXPOSURE_VERYLONG , self :: EXPOSURE_FIXEDFPS , self :: EXPOSURE_ANTISHAKE , self :: EXPOSURE_FIREWORKS , ] ; $ this -> assertInArray ( $ mode , $ exposureModes ) ; $ this -> valueArguments [ 'exposure' ] = $ mode ; return $ this ; }
Set exposure mode

Possible options are:
- 'auto' `Raspicam::EXPOSURE_AUTO` Use automatic exposure mode
- 'night' `Raspicam::EXPOSURE_NIGHT` Select setting for night shooting
- 'nightpreview' `Raspicam::EXPOSURE_NIGHTPREVIEW`
- 'backlight' `Raspicam::EXPOSURE_BACKLIGHT` Select setting for back lit subject
- 'spotlight' `Raspicam::EXPOSURE_SPOTLIGHT`
- 'sports' `Raspicam::EXPOSURE_SPORTS` Select setting for sports (fast shutter etc)
- 'snow' `Raspicam::EXPOSURE_SNOW` Select setting optimised for snowy scenery
- 'beach' `Raspicam::EXPOSURE_BEACH` Select setting optimised for beach
- 'verylong' `Raspicam::EXPOSURE_VERYLONG` Select setting for long exposures
- 'fixedfps' `Raspicam::EXPOSURE_FIXEDFPS` Constrain fps to a fixed value
- 'antishake' `Raspicam::EXPOSURE_ANTISHAKE` Antishake mode
- 'fireworks' `Raspicam::EXPOSURE_FIREWORKS` Select settings

Note that not all of these settings may be implemented, depending on camera type.

@param string $mode Exposure mode

@return $this
Set exposure mode