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