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?)

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

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 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)