Package com.castlabs.sdk.playerui.dialogs

# Class VideoTrackAndQuality

java.lang.Object
com.castlabs.sdk.playerui.dialogs.VideoTrackAndQuality

public class VideoTrackAndQuality extends Object
Holds a video track and possibly a quality.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VideoTrackAndQuality(VideoTrack track, VideoTrackQuality quality)`
  Constructs a video track with possibly a quality.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `VideoTrackQuality`
  `getQuality()`
  Returns the quality of the video track.
  `VideoTrack`
  `getTrack()`
  Returns the video track.
  `int`
  `hashCode()`

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

  `getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### VideoTrackAndQuality

    public VideoTrackAndQuality(@Nullable VideoTrack track, @Nullable VideoTrackQuality quality)
    Constructs a video track with possibly a quality.
    Parameters:
      `track` - The video track.
      `quality` - The quality of the video track.

- ## Method Details

  - ### getTrack

    @Nullable public VideoTrack getTrack()
    Returns the video track.
    Returns:
      track The video track.

  - ### getQuality

    @Nullable public VideoTrackQuality getQuality()
    Returns the quality of the video track.
    Returns:
      quality The quality of the video track.

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(@Nullable Object obj)
    Overrides:
      `equals` in class `Object`