interface SxEventProvider
Provides methods to access and subscribe to event changes of SxAdInfo, SxPublicAd and SxPublicAdSlot.
adInfo |
Current SxAdInfo instance or null of there is none. abstract val adInfo: SxAdInfo? |
error |
Last SxError. abstract val error: SxError? |
publicAd |
Current SxPublicAd instance or null of there is none. abstract val publicAd: SxPublicAd? |
publicAdSlot |
Current SxPublicAdSlot instance or null of there is none. abstract val publicAdSlot: SxPublicAdSlot? |
addAdInfoListener |
abstract fun addAdInfoListener(listener: IOnChangedScope<SxAdInfo>.(SxAdInfo) -> Unit): () -> Unit |
addOnErrorListener |
abstract fun addOnErrorListener(listener: IOnChangedScope<SxError?>.(SxError?) -> Unit): () -> Unit |
addPublicAdListener |
abstract fun addPublicAdListener(listener: IOnChangedScope<SxPublicAd>.(SxPublicAd) -> Unit): () -> Unit |
addPublicAdSlotListener |
abstract fun addPublicAdSlotListener(listener: IOnChangedScope<SxPublicAdSlot>.(SxPublicAdSlot) -> Unit): () -> Unit |
SxSequencer |
Controller class for instream use cases. class SxSequencer : IKoinDi, Releasable, SxEventProvider |