public function timeout($value, $unit = self::TIMEUNIT_SECOND)
    {
        $this->assertPositiveNumber($value);

        $this->valueArguments['timeout'] = $this->convertTimeUnit(
            $value,
            $unit,
            self::TIMEUNIT_MILLISECOND
        );

        return $this;
    }
public function timeout($value, $unit = self::TIMEUNIT_SECOND)
    {
        $this->assertPositiveNumber($value);

        $this->valueArguments['timeout'] = $this->convertTimeUnit(
            $value,
            $unit,
            self::TIMEUNIT_MILLISECOND
        );

        return $this;
    }
public function timeout ( $ value , $ unit = self :: TIMEUNIT_SECOND ) { $ this -> assertPositiveNumber ( $ value ) ; $ this -> valueArguments [ 'timeout' ] = $ this -> convertTimeUnit ( $ value , $ unit , self :: TIMEUNIT_MILLISECOND ) ; return $ this ; }
Time before takes picture, default is 5 seconds

The camera will run for this length of time, then take the picture.
Unit can be one of: `Raspicam::TIMEUNIT_MINUTE`, `Raspicam::TIMEUNIT_SECOND`,
`Raspicam::TIMEUNIT_MILLISECOND`, `Raspicam::TIMEUNIT_MICROSECOND`.

@param int|float $value Timeout
@param string    $unit  Optional. Time unit for $value Default: `Raspicam::TIMEUNIT_SECOND`


@return $this
Time before takes picture default is 5 seconds