SLRAppHost

interface SLRAppHost

Interface which get access to all available options of single StreamLayerFragment instance.

Types

Link copied to clipboard

Click action of different SDK's views.

Link copied to clipboard
data class ActionShown(val source: SLRAppHost.ActionShown.Source, val isShown: Boolean)

Visibility changing action of different SDK's views.

Link copied to clipboard
interface Delegate

Callback interface invoked when the SDK delegates control to the HOST app.

Link copied to clipboard
sealed class NotificationMode

Behavior of in-app notifications view.

Link copied to clipboard
sealed class Overlay

Overlays which can be opened from host app.

Link copied to clipboard
sealed class Tooltip

SDK Tooltips enabled for customization. SDK gives control to the host app to provide a custom View for each type of the Tooltip

Link copied to clipboard
interface TooltipHandler

Callback interface invoked when the SDK delegates control over Tooltip to the HOST app.

Link copied to clipboard

Positions of the Watch party video views in landscape

Properties

Link copied to clipboard

Register a callback to handle requests from the SDK.

Link copied to clipboard

Behavior of in-app notifications view. By default it's NotificationMode.ALL .

Link copied to clipboard
abstract var isLaunchButtonEnabled: Boolean

Visibility of the Launch button. By default it's true.

Link copied to clipboard
abstract var isMenuAlwaysOpened: Boolean

State of the Menu - can it be closed or not. By default it's false.

Link copied to clipboard
abstract var isMenuLabelsVisible: Boolean

Show labels for menu items in portrait, on landscape labels show always

Link copied to clipboard
abstract var isMenuProfileEnabled: Boolean

Visibility of the Profile menu item. By default it's true.

Link copied to clipboard
abstract var isOverlayStartSide: Boolean

Position of the Overlay in landscape. By default it's true.

Link copied to clipboard
abstract var isPortraitOverlayStyleEnabled: Boolean

Change style of the Overlay in landscape. By default it's false.

Link copied to clipboard
abstract var isPredictionsPointsEnabled: Boolean

Visibility of the Predictions point button. By default it's true.

Link copied to clipboard
abstract var isPredictionsPointsStartSide: Boolean

Position of the Predictions point button. By default it's false.

Link copied to clipboard
abstract var isTooltipsEnabled: Boolean

Visibility of the Tooltips. By default it's true.

Link copied to clipboard
abstract var isWatchPartyReturnButtonEnabled: Boolean

Visibility of the Watch party return button. By default it's true.

Link copied to clipboard
abstract var isWatchPartyReturnButtonStartSide: Boolean

Position of the Watch party return button in landscape. By default it's false.

Link copied to clipboard
abstract var isWatchPartySurfaceViewEnabled: Boolean

Type of the Watch party video view - SurfaceView or TextureView. By default it's false.

Link copied to clipboard

Alignment of the Watch party video views in landscape. By default it's true.

Link copied to clipboard
abstract var isWatchPartyVideoViewDragEnabled: Boolean

Drag and drop of the Watch party video views in landscape. By default it's true.

Link copied to clipboard
abstract var isWhoIsWatchingViewEnabled: Boolean

Visibility of the Whos is watching view. By default it's true.

Link copied to clipboard
abstract var overlayHeightSpace: Int

Top space of the Overlay height in portrait. By default it's 0.

Link copied to clipboard
abstract var overlayWidth: Int

Width of the Overlay in landscape. By default it's 0.

Link copied to clipboard

Configure Watch party tooltips. By default it's contains all available values from Tooltips.WatchParty hierarchy.

Link copied to clipboard

Position of the Watch party video views in landscape. By default it's START.

Functions

Link copied to clipboard
abstract fun hideMenu()

A function to close SDK ui menu.

Link copied to clipboard
abstract fun hideOverlay()

A function to close SDK ui overlay.

Link copied to clipboard
abstract fun isWatchPartyVideoViewsVisible(): Boolean

A function to return visibility of the Watch party Video views.

Link copied to clipboard
abstract fun showOverlay(overlay: SLRAppHost.Overlay)

A function to open SDK ui overlay.