# Index

A C G H I O R S T
All Classes and Interfaces|All Packages|Serialized Form

## A

AdNativeAudioDecoder - Class in com.castlabs.android.hybridads
  Decodes audio data.
AdNativeAudioDecoderException - Exception Class in com.castlabs.android.hybridads
  Thrown when an `AdNativeAudioDecoder` encounters a decoder error.
AdNativeAudioRenderer - Class in com.castlabs.android.hybridads
  Renders audio that is decoded by a native audio decoder.
AdNativeAudioRenderer(AdNativeDecoder, IPlayerService, boolean, int, Handler, PlayerConfig, AudioRendererEventListener, int, long, long, HybridAdView) - Constructor for class com.castlabs.android.hybridads.AdNativeAudioRenderer
  Creates a new instance.
AdNativeDecoder - Class in com.castlabs.android.hybridads
  Native decoder for ads.
AdNativeDecoder(Context) - Constructor for class com.castlabs.android.hybridads.AdNativeDecoder
  Constructor for AdNativeDecoder.
AdNativeVideoDecoder - Class in com.castlabs.android.hybridads
  Native video decoder for ads.
AdNativeVideoDecoderException - Exception Class in com.castlabs.android.hybridads
  Thrown when the `AdNativeVideoDecoder` encounters a video decoder error.
AdNativeVideoRenderer - Class in com.castlabs.android.hybridads
  Renders video frames using a native decoder.
AdNativeVideoRenderer(AdNativeDecoder, IPlayerService, boolean, int, long, Handler, PlayerConfig, VideoRendererEventListener, int, int, long, long, HybridAdView) - Constructor for class com.castlabs.android.hybridads.AdNativeVideoRenderer
  Creates a new AdNativeVideoRenderer.

## C

com.castlabs.android.hybridads - package com.castlabs.android.hybridads
com.castlabs.android.hybridads.ui - package com.castlabs.android.hybridads.ui
create() - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererPlugin
createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.hybridads.HybridAdPlayerPlugin
createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.hybridads.HybridAdPlayerPlugin
createRenderer(TrackRendererPlugin.Type, PlayerController, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererBuilder
createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdPlayerPlugin

## G

getAdSurface() - Method in class com.castlabs.android.hybridads.ui.HybridAdView
  Returns the ad surface.
getId() - Method in class com.castlabs.android.hybridads.HybridAdPlugin
getName() - Method in class com.castlabs.android.hybridads.AdNativeAudioDecoder
getName() - Method in class com.castlabs.android.hybridads.AdNativeVideoDecoder
getPositionUs() - Method in class com.castlabs.android.hybridads.AdNativeAudioRenderer
getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdPlayerPlugin
getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererBuilder

## H

handleMessage(int, Object) - Method in class com.castlabs.android.hybridads.AdNativeVideoRenderer
hidePlayerView(boolean) - Method in class com.castlabs.android.hybridads.ui.HybridAdView
  Hides the player view.
HybridAdComponent - Class in com.castlabs.android.hybridads
  Component for managing hybrid ads.
HybridAdComponent(HybridAdPlayerPlugin, HybridAdTrackRendererPlugin) - Constructor for class com.castlabs.android.hybridads.HybridAdComponent
  Constructor for HybridAdComponent.
HybridAdComponent.AdVisibilityListener - Interface in com.castlabs.android.hybridads
  Listener for ad visibility changes.
HybridAdPlayerPlugin - Class in com.castlabs.android.hybridads
  PlayerPlugin implementation for Hybrid Ads.
HybridAdPlayerPlugin() - Constructor for class com.castlabs.android.hybridads.HybridAdPlayerPlugin
  Default constructor.
HybridAdPlugin - Class in com.castlabs.android.hybridads
  Plugin for handling hybrid ads.
HybridAdPlugin(IPlayerService) - Constructor for class com.castlabs.android.hybridads.HybridAdPlugin
  Create a new instance of this plugin using the default configuration.
HybridAdPlugin(IPlayerService, boolean, boolean, int, int) - Constructor for class com.castlabs.android.hybridads.HybridAdPlugin
  Create a new instance of this plugin using the default configuration.
HybridAdTrackRendererBuilder - Class in com.castlabs.android.hybridads
  A TrackRendererBuilder that creates renderers for hybrid ads.
HybridAdTrackRendererBuilder(IPlayerService, int, long, long, HybridAdView, boolean, boolean, int, int) - Constructor for class com.castlabs.android.hybridads.HybridAdTrackRendererBuilder
  Creates a new HybridAdTrackRendererBuilder.
HybridAdTrackRendererPlugin - Class in com.castlabs.android.hybridads
  A TrackRendererPlugin that enables hybrid ads.
HybridAdTrackRendererPlugin(IPlayerService, boolean, boolean, int, int) - Constructor for class com.castlabs.android.hybridads.HybridAdTrackRendererPlugin
  Creates a new HybridAdTrackRendererPlugin.
HybridAdView - Class in com.castlabs.android.hybridads.ui
  View for displaying hybrid ads.
HybridAdView(Context, FrameLayout) - Constructor for class com.castlabs.android.hybridads.ui.HybridAdView
  Constructor for HybridAdView.

## I

id() - Method in class com.castlabs.android.hybridads.HybridAdComponent
isAdStarted() - Method in class com.castlabs.android.hybridads.ui.HybridAdView
  Returns true if the ad has started, false otherwise.
isDefault() - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererBuilder
isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdPlayerPlugin
isReady() - Method in class com.castlabs.android.hybridads.AdNativeAudioRenderer
isReady() - Method in class com.castlabs.android.hybridads.AdNativeVideoRenderer
isTypeSupported(TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererBuilder

## O

onAdVisibilityChanged(boolean) - Method in interface com.castlabs.android.hybridads.HybridAdComponent.AdVisibilityListener
  Called when ad visibility changes.
onDestroy(PlayerController) - Method in class com.castlabs.android.hybridads.HybridAdComponent
onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.android.hybridads.HybridAdComponent
onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.android.hybridads.HybridAdComponent

## R

release() - Method in class com.castlabs.android.hybridads.AdNativeAudioDecoder
release() - Method in class com.castlabs.android.hybridads.AdNativeVideoDecoder
render(long, long) - Method in class com.castlabs.android.hybridads.AdNativeAudioRenderer
render(long, long) - Method in class com.castlabs.android.hybridads.AdNativeVideoRenderer

## S

setAdPlayerInfo(IPlayerService, int, long, long) - Method in class com.castlabs.android.hybridads.HybridAdComponent
  Sets the ad player information.
setAdPlayerInfo(IPlayerService, int, long, long) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererPlugin
  Sets the ad player information.
setContext(Context, FrameLayout) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererPlugin
  Sets the context and frame layout for the HybridAdView.
setContext(Context, FrameLayout, HybridAdComponent.AdVisibilityListener) - Method in class com.castlabs.android.hybridads.HybridAdComponent
  Sets the context, frame layout and listener.
setSurface(Surface) - Method in class com.castlabs.android.hybridads.AdNativeDecoder
  Sets the surface for the decoder.

## T

toggleToAdSurface(boolean) - Method in class com.castlabs.android.hybridads.HybridAdComponent
  Toggles to ad surface.
toggleToAdSurface(boolean) - Method in class com.castlabs.android.hybridads.HybridAdTrackRendererPlugin
  Toggles to the ad surface.

A C G H I O R S T
All Classes and Interfaces|All Packages|Serialized Form