NativeAd.Rating
Há uma versão mais recente desta classe disponível. Confira. a versão mais recente.

Rating info.

Estende:Object
Pacote:ads
Construtores
Rating(double, double)
public Rating(double value, double scale)
ParâmetroDescrição
value
scale
Métodos de classe
fromJSONObject(JSONObject)

Parses a Rating from the given JSON object.

public static Rating fromJSONObject(JSONObject dataObject)
ParâmetroDescrição
dataObjectThe json object
Returns
Parsed Rating or null if failed
Métodos de instância
getValue()

Gets the rating value.

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

Gets the rating scale.

public double getScale()
Returns
The rating scale