public static class NativeAdBase.Rating
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static NativeAdBase.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 NativeAdBase.Rating fromJSONObject(JSONObject dataObject)
dataObject
- the json object