public static enum BaseEvent.SamplingRate extends java.lang.Enum<BaseEvent.SamplingRate>
Enum Constant and Description |
---|
AD_INTERACTIONS |
AD_REQUEST |
NATIVE_VIDEO |
Modifier and Type | Method and Description |
---|---|
double |
getSamplingRate() |
static BaseEvent.SamplingRate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BaseEvent.SamplingRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseEvent.SamplingRate AD_REQUEST
public static final BaseEvent.SamplingRate NATIVE_VIDEO
public static final BaseEvent.SamplingRate AD_INTERACTIONS
public static BaseEvent.SamplingRate[] values()
for (BaseEvent.SamplingRate c : BaseEvent.SamplingRate.values()) System.out.println(c);
public static BaseEvent.SamplingRate valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic double getSamplingRate()