Modifier and Type | Method and Description |
---|---|
static NativeAd.Rating |
fromJSONObject(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(JSONObject dataObject)
dataObject
- the json object