NativeAd.Rating
这个类有新版本。查看 最新版本。

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)
参数描述
dataObjectThe json object
Returns
Parsed Rating or null if failed
实例方法
getValue()

Gets the rating value.

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

Gets the rating scale.

public double getScale()
Returns
The rating scale