NativeAd.Rating
有此級別的更新版本。前往查看 最新版本。

Rating info.

伸延:Object
套件:ads
建構函式
Rating(double, double)
public 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