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