Rating info.
확장: | Object |
패키지: | ads |
NativeAd.Rating(double, double)
public NativeAd.Rating(double value, double scale)
매개변수 | 설명 |
---|---|
value | |
scale |
fromJSONObject(JSONObject)
Parses a Rating from the given JSON object.
public static Rating fromJSONObject(JSONObject dataObject)
매개변수 | 설명 |
---|---|
dataObject | The json object |
getValue()
Gets the rating value.
public double getValue()
getScale()
Gets the rating scale.
public double getScale()