類別: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