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