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
    --- | --- | ---
    `com.google.android.exoplayer2.BaseRenderer` | `renderer` |
    `Integer` | `viewId` |

  - ### 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 Detail

    - #### renderer

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

    - #### viewId

          @Nullable
          public final Integer viewId

  - ### Constructor Detail

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