public static class NativeAd.Rating
extends java.lang.Object
Constructor and Description |
---|
NativeAd.Rating(double value,
double scale) |
Modifier and Type | Method and Description |
---|---|
static NativeAd.Rating |
fromJSONObject(org.json.JSONObject dataObject)
Parses a Rating from the given JSON object.
|
double |
getScale()
Gets the rating scale.
|
double |
getValue()
Gets the rating value.
|
public double getValue()
public double getScale()
public static NativeAd.Rating fromJSONObject(org.json.JSONObject dataObject)
dataObject
- the json object