NativeAd.Rating
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

Rating info.

Prolonge :Object
Package :ads
Constructeurs
Rating(double, double)
public Rating(double value, double scale)
ParamètreDescription
value
scale
Méthodes Class
fromJSONObject(JSONObject)

Parses a Rating from the given JSON object.

public static Rating fromJSONObject(JSONObject dataObject)
ParamètreDescription
dataObjectThe json object
Returns
Parsed Rating or null if failed
Méthodes d’instance
getValue()

Gets the rating value.

public double getValue()
Returns
The rating value
getScale()

Gets the rating scale.

public double getScale()
Returns
The rating scale