rv.analytics.trackedevents.StopCapture
*/
class StopCapture extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field double duration = 1;
*/
protected $duration = 0.0;
/**
* Generated from protobuf field int32 dropped_frames = 2;
*/
protected $dropped_frames = 0;
/**
* Generated from protobuf field double percent_dropped_frames = 3;
*/
protected $percent_dropped_frames = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float $duration
* @type int $dropped_frames
* @type float $percent_dropped_frames
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\AnalyticsTrackedEvents::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field double duration = 1;
* @return float
*/
public function getDuration()
{
return $this->duration;
}
/**
* Generated from protobuf field double duration = 1;
* @param float $var
* @return $this
*/
public function setDuration($var)
{
GPBUtil::checkDouble($var);
$this->duration = $var;
return $this;
}
/**
* Generated from protobuf field int32 dropped_frames = 2;
* @return int
*/
public function getDroppedFrames()
{
return $this->dropped_frames;
}
/**
* Generated from protobuf field int32 dropped_frames = 2;
* @param int $var
* @return $this
*/
public function setDroppedFrames($var)
{
GPBUtil::checkInt32($var);
$this->dropped_frames = $var;
return $this;
}
/**
* Generated from protobuf field double percent_dropped_frames = 3;
* @return float
*/
public function getPercentDroppedFrames()
{
return $this->percent_dropped_frames;
}
/**
* Generated from protobuf field double percent_dropped_frames = 3;
* @param float $var
* @return $this
*/
public function setPercentDroppedFrames($var)
{
GPBUtil::checkDouble($var);
$this->percent_dropped_frames = $var;
return $this;
}
}