Package com.castlabs.android.player

# Class PlayerControllerContext

java.lang.Object
com.castlabs.android.player.PlayerControllerContext

public final class PlayerControllerContext extends Object
Container class for a `PlayerController` and its associated resources that share the same lifecycle.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final HandlerRunner`
  `handler`
  `HandlerRunner` instance
  `final PlayerController`
  `player`
  `PlayerController` instance

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PlayerControllerContext(PlayerController playerController)`
  Default constructor

- ## Method Summary

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

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

- ## Field Details

  - ### player

    @NonNull public final PlayerController player
    `PlayerController` instance

  - ### handler

    @NonNull public final HandlerRunner handler
    `HandlerRunner` instance

- ## Constructor Details

  - ### PlayerControllerContext

    public PlayerControllerContext(@NonNull PlayerController playerController)
    Default constructor
    Parameters:
      `playerController` - `PlayerController` instance