interface Releasable
Defines a class that holds external references which need to be unset when the implementing class is not needed anymore.
release |
Removes all external class references. Has to be called when the implementing class is not needed anymore. abstract fun release(): Unit |
ErrorManager |
Responsible for collecting errors and forward them to the EventProvider. class ErrorManager : IKoinDi, ErrorJsInterface, ErrorReceiver, Releasable |
EventDispatcher |
Dispatches events from type SxEventType to the smartcore. interface EventDispatcher : Releasable |
IExoHolder |
Holds instances of PlayerView and ExoPlayer. interface IExoHolder : Releasable |
IWebViewHolder |
interface IWebViewHolder : Releasable |
ProgressBuilder |
class ProgressBuilder : IKoinDi, Releasable |
SxAdOverlayContainer |
Helper class to manage the player overlay. open class SxAdOverlayContainer : Releasable, IKoinDi |
SxAdSlotController |
Wrapper for advertisement processing. After the loading process was initialized by one of the SxAdSlotController.loadAd methods all needed visualization changes are forwarded to the provided SxAdSlotDelegate. class SxAdSlotController : Releasable, IKoinDi |
SxAdSlotDelegate |
Provides interface for visualizing the advertisement and providing information about its playback. abstract class SxAdSlotDelegate : OmidControllerWrapper, Releasable, IKoinDi |
SxAdView |
View that should be used for outstream use cases. It uses the ExoPlayer to display the requested advertisement tag (incl. it's opener, closer and/or bumper). onResume and onPause must be called in the corresponding android lifecycle callbacks. release must be called when this view is not needed anymore. To change the used SxConfiguration you can use all xml attributes defined in R.styleable.SxAdView or overwrite SxAdView and implement the configuration property. open class SxAdView : ConstraintLayout, AdView, Releasable |
SxSequencer |
Controller class for instream use cases. class SxSequencer : IKoinDi, Releasable, SxEventProvider |
SxVideoPlayerWrapper |
Describes the outstream video player with support for observing the different properties of the player. interface SxVideoPlayerWrapper : Releasable |