CompanionAd
class public
這個類別代表動態廣告插入期間的隨播廣告物件。這個類別會公開 ima.CompanionAd 屬性的子集。
建構函式
CompanionAd
new CompanionAd(companion)
建構函式。
參數 |
|
---|---|
companion |
值不得為空值。 |
方法
getAdSlotId
getAdSlotId() 傳回值 (空值或字串)
- 傳回
-
(null or string)
getContent
getContent() 會傳回字串
- 傳回
-
string
getContentType
getContentType() returns (null or string)
- 傳回
-
(null or string)
getHeight
getHeight() 會傳回數字
- 傳回
-
number
getWidth
getWidth() 會傳回數字
- 傳回
-
number