NativeAd.Rating
Đã có phiên bản mới hơn của lớp này. Hãy kiểm tra phiên bản mới nhất.

Rating info.

Mở rộng:Object
Gói:ads
Xây dựng
Rating(double, double)
public Rating(double value, double scale)
Thông sốMô tả
value
scale
Phương thức nhóm
fromJSONObject(JSONObject)

Parses a Rating from the given JSON object.

public static Rating fromJSONObject(JSONObject dataObject)
Thông sốMô tả
dataObjectThe json object
Returns
Parsed Rating or null if failed
Phương thức thực thể
getValue()

Gets the rating value.

public double getValue()
Returns
The rating value
getScale()

Gets the rating scale.

public double getScale()
Returns
The rating scale