AdPodInfo
Una classe che rappresenta un oggetto di informazioni sul pod di annunci durante l'inserimento di annunci dinamici.
Metodi
getAdPosition
getAdPosition() restituisce un numero
- Resi
-
number
getMaxDuration
getMaxDuration() restituisce un numero
- Resi
-
number
getPodIndex
getPodIndex() restituisce un numero
Restituisce l'indice del pod di annunci.
VOD DAI: per un pod preroll, restituisce 0. Per gli annunci midroll, restituisce 1, 2,…, N. Per un pod postroll, restituisce -1. Il valore predefinito è 0 se l'annuncio non fa parte di un pod o se il pod non fa parte di una playlist.
Live streaming DAI: per un pod pre-roll, restituisce 0. Per gli annunci mid-roll, restituisce l'ID interruzione. Restituisce -2 se non è possibile determinare l'indice del pod (errore interno).
- Resi
-
number
getTimeOffset
getTimeOffset() restituisce un numero
- Resi
-
number
getTotalAds
getTotalAds() restituisce un numero
- Resi
-
number