Package com.castlabs.android.player

# Class TrackRendererPlugin.TrackRendererContainer

java.lang.Object
com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer

Enclosing interface:
  `TrackRendererPlugin`

public static final class TrackRendererPlugin.TrackRendererContainer extends Object
The builder interface creates instances of this container that wraps the renderer instance and an optional view component.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final com.google.android.exoplayer2.BaseRenderer`
  `renderer`
  The renderer instance.
  `final Integer`
  `viewId`
  The optional view component id.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TrackRendererContainer(com.google.android.exoplayer2.BaseRenderer renderer, Integer viewId)`
  Create an instance of this container

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### renderer

    @NonNull public final com.google.android.exoplayer2.BaseRenderer renderer
    The renderer instance.

  - ### viewId

    @Nullable public final Integer viewId
    The optional view component id.

- ## Constructor Details

  - ### TrackRendererContainer

    public TrackRendererContainer(@NonNull com.google.android.exoplayer2.BaseRenderer renderer, @Nullable Integer viewId)
    Create an instance of this container
    Parameters:
      `renderer` - the renderer
      `viewId` - the optional view component id