类:CompanionAd

构造函数

CompanionAd

new CompanionAd(companion)

构造函数。

参数

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