Rating info.
Extends: | Object |
Package: | ads |
NativeAd.Rating(double, double)
public NativeAd.Rating(double value, double scale)
Parameter | Description |
---|---|
value | |
scale |
fromJSONObject(JSONObject)
Parses a Rating from the given JSON object.
public static Rating fromJSONObject(JSONObject dataObject)
Parameter | Description |
---|---|
dataObject | The json object |
getValue()
Gets the rating value.
public double getValue()
getScale()
Gets the rating scale.
public double getScale()