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