rv.analytics.trackedevents.FrameRate
*/
class FrameRate
{
/**
* Generated from protobuf enum UNSPECIFIED = 0;
*/
const UNSPECIFIED = 0;
/**
* Generated from protobuf enum _24FPS = 1;
*/
const _24FPS = 1;
/**
* Generated from protobuf enum _25FPS = 2;
*/
const _25FPS = 2;
/**
* Generated from protobuf enum _2997FPS = 3;
*/
const _2997FPS = 3;
/**
* Generated from protobuf enum _30FPS = 4;
*/
const _30FPS = 4;
/**
* Generated from protobuf enum _50FPS = 5;
*/
const _50FPS = 5;
/**
* Generated from protobuf enum _5994FPS = 6;
*/
const _5994FPS = 6;
/**
* Generated from protobuf enum _60FPS = 7;
*/
const _60FPS = 7;
private static $valueToName = [
self::UNSPECIFIED => 'UNSPECIFIED',
self::_24FPS => '_24FPS',
self::_25FPS => '_25FPS',
self::_2997FPS => '_2997FPS',
self::_30FPS => '_30FPS',
self::_50FPS => '_50FPS',
self::_5994FPS => '_5994FPS',
self::_60FPS => '_60FPS',
];
public static function name($value)
{
if (!isset(self::$valueToName[$value])) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no name defined for value %s', __CLASS__, $value));
}
return self::$valueToName[$value];
}
public static function value($name)
{
$const = __CLASS__ . '::' . strtoupper($name);
if (!defined($const)) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no value defined for name %s', __CLASS__, $name));
}
return constant($const);
}
}