CompanionAd
Klasa reprezentująca obiekt reklamy towarzyszącej podczas dynamicznego wstawiania reklamy. Ta klasa udostępnia podzbiór właściwości ima.CompanionAd.
Zespół
CompanionAd
new CompanionAd(companion)
Konstruktor.
Parametr |
|
---|---|
companion |
Wartość nie może być pusta. |
Metody
getAdSlotId
getAdSlotId() zwraca wartość null lub string
- Zwroty
-
(null or string)
getContent
getContent() zwraca ciąg znaków.
- Zwroty
-
string
getContentType
getContentType() returns (null or string)
- Zwroty
-
(null or string)
getHeight
Funkcja getHeight() zwraca liczbę
- Zwroty
-
number
getWidth
getWidth() zwraca liczbę
- Zwroty
-
number