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