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