Package-level declarations

Contains Native Player view class and -factory.

Types

Link copied to clipboard

BBNativePlayer offers static factory functions for creating the views that do the actual work

Link copied to clipboard
class BBNativePlayerAPI(playerView: BBNativePlayerView, eventBus: EventBus?) : EventListenerInterface

BBNativePlayerAPI is the convenience API, accessible via BBNativePlayerView::player. It simply wraps BBNativePlayerView::callApiMethod & BBNativePlayerView::getApiProperty

Link copied to clipboard
class BBNativePlayerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, EventListenerInterface

BBNativePlayerView is what you place in your layout. It extends the platform’s core UI View class (more specifically: FrameLayout)

Link copied to clipboard

BBNativePlayerViewDelegate is what you implement to act as BBNativePlayerView's delegate.

Link copied to clipboard

BBNativeRenderer offers static factory functions for creating the views that do the actual work

Link copied to clipboard
class BBNativeRendererView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, EventListenerInterface, BBNativePlayerViewDelegate

BBNativeRendererView is what you place in your layout. It extends the platform’s core UI View class (more specifically: FrameLayout)

Link copied to clipboard

BBNativeRendererViewDelegate is what you implement to act as BBNativeRendererView's delegate.

Link copied to clipboard

BBNativeShorts offers static factory functions for creating the views that do the actual work

Link copied to clipboard

BBNativeShortsViewDelegate is what you implement to act as BBNativeShortsView's delegate.

Link copied to clipboard
class BlurTransformation(radius: Float = 25.0f, sampling: Float = 0.4f) : Transformation

Coil transformation that applies blur effect to images for vertical video backgrounds

Link copied to clipboard
class ChromecastMiniControlsView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : ConstraintLayout

ChromecastMiniControlsView is what you place in your layout and will become visible when a cast session is detected. It extends the platform’s core UI View class (more specifically: ConstraintLayout)

Link copied to clipboard
class DoubleTapSeekView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout

DoubleTapSeekView - Custom animated overlay view for double-tap seek functionality Provides visual feedback with ripple effects, directional arrows, and time display

Link copied to clipboard
Link copied to clipboard
class PlayHistoryManager(context: Context, eventBus: EventBusInterface?) : EventListenerInterface
Link copied to clipboard
class ShelfItemDecoration(_startPadding: Int, _endPadding: Int, _pad: Int) : RecyclerView.ItemDecoration

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Calculates relative luminance per WCAG 2.0 specification Uses sRGB colorspace with proper gamma correction