NativeAd.Rating
Existe una versión más reciente de esta clase. Consulta la última versión.

Rating info.

Hereda de:Object
Paquete:ads
Constructores
Rating(double, double)
public Rating(double value, double scale)
ParámetroDescripción
value
scale
Métodos de clase
fromJSONObject(JSONObject)

Parses a Rating from the given JSON object.

public static Rating fromJSONObject(JSONObject dataObject)
ParámetroDescripción
dataObjectThe json object
Returns
Parsed Rating or null if failed
Métodos de instancia
getValue()

Gets the rating value.

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

Gets the rating scale.

public double getScale()
Returns
The rating scale