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()