CompanionAd
class public
คลาสที่แสดงถึงออบเจ็กต์โฆษณาที่แสดงร่วมกันระหว่างการแทรกโฆษณาแบบไดนามิก คลาสนี้จะแสดงชุดย่อยของพร็อพเพอร์ตี้ ima.CompanionAd
ผู้ผลิต
CompanionAd
new CompanionAd(companion)
เครื่องมือสร้าง
พารามิเตอร์ |
|
---|---|
แอปที่ใช้ร่วมกัน |
ค่าต้องไม่เท่ากับ Null |
เมธอด
getAdSlotId
getAdSlotId() แสดงผล (Null หรือสตริง)
- การคืนสินค้า
-
(null or string)
getContent
getContent() แสดงผลสตริง
- การคืนสินค้า
-
string
getContentType
getContentType() returns (null or string)
- การคืนสินค้า
-
(null or string)
getHeight
getHeight() แสดงผลตัวเลข
- การคืนสินค้า
-
number
getWidth
getWidth() แสดงผลตัวเลข
- การคืนสินค้า
-
number