Implements Observables/Controllable and links them with their corresponding property.
Also triggers new event when one of the properties changes.
Dispatches events from type SxEventType to the smartcore.
Implementation of IExoHolder. Binds the ExoPlayer to the PlayerView and disables the
controller on initialization.
Implements the SxVideoPlayerWrapper for the SimpleExoPlayer.
Holds instances of PlayerView and ExoPlayer.
Responsible to load a media Url inside the IExoHolder.
Responsible to switch videos from content to advertising and back.
These Events are used to change the InstreamState in the SxSequencer class.
If the event needs parameters, it is implemented in a data class. If there are no parameters for
an event it uses an object as implementation.
Implements the SxInstreamVideoPlayerWrapper for the SimpleExoPlayer.
These states are used to manage the playback in the SxSequencer class.
They can be changed by using the InstreamEvent classes/objects.
Provides the complete duration of all past ad clips.
Generic video player playback state.
(extensions in package tv.smartclip.smartclientandroid.lib.smartcorefacade)
Responsible to set the progress on the provided ProgressBar.
Defines a class that holds external references which need to be unset when the implementing class
is not needed anymore.
Provides ElementSizes for the player surface view and the whole viewport, which is the screen size
in our case.
(extensions in package tv.smartclip.smartclientandroid.lib.dto)
(extensions in package tv.smartclip.smartclientandroid.lib.video_player)
Immutable class that holds all information which are supplied by the
SxAdSlotDelegate.adInfo callback.
Event type. A play SxAdInfo is created when this type changes.
Helper class to manage the player overlay.
Contains all needed parameter to load an Ad slot.
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.
Provides interface for visualizing the advertisement and providing information about its playback.
Type of advertisement.
Instances contains the executable and bootstrapping data required to run the measurement code
for a single verification vendor.
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.
Defines the position of an advertisment break inside an instream configuration.
Defines the behaviour when user taps on a video of an advertisement.
Subtitle files for the current creative in different languages.
Configuration for the advertisement overlay, click handling and other parameters. Can be used
to configure the SxAdView or SxSequencer. By default the SxAdView uses the
SxConfiguration.OUTSTREAM configuration and the SxSequencer the SxConfiguration.INSTREAM
configuration.
Type of internet connection.
Enum representing possible device types for the smartcore platform.
Contains all environment variables used by the smartcore.
Provides methods to access and subscribe to event changes of SxAdInfo, SxPublicAd and
SxPublicAdSlot.
Events that are send from the Android side to the JavaScript core.
Describes the instream video player with support for observing the different properties of
the player.
Defines the layout constraints of the video player.
Defines the behaviour when the advertisement and all separator clips have finished
playback.
Possible supported capabilities by the video player.
Collection of data for the current running ad
Collection of data that describes the current ad slot.
Controller class for instream use cases.
Uses the absolute content position as start condition.
Defines an advertisement slot for the playback which is controlled by the SxSequencer.
Uses a Date as start condition.
Playback states that must be reported to the SxSequencer during playback.
Defines the position of an advertisement slot within a content video.
Uses the relative content position as start condition.
Event contains all state relevant video player properties.
Describes the outstream video player with support for observing the different properties of
the player.