lib / tv.smartclip.smartclientandroid.lib.smartcorefacade / Releasable

Releasable

interface Releasable

Defines a class that holds external references which need to be unset when the implementing class is not needed anymore.

Functions

release

Removes all external class references. Has to be called when the implementing class is not needed anymore.

abstract fun release(): Unit

Inheritors

EventDispatcher

Dispatches events from type SxEventType to the smartcore.

interface EventDispatcher : Releasable

IWebViewHolder

interface IWebViewHolder : Releasable

ProgressBarController

Responsible to set the progress on the provided ProgressBar.

class ProgressBarController : IKoinDi, Releasable

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

SxVideoPlayerWrapper

Describes the outstream video player with support for observing the different properties of the player.

interface SxVideoPlayerWrapper : Releasable