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

Rating info.

延伸:Object
套件:ads
類別方式
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