Package com.castlabs.sdk.base.subtitles

# Class SubtitleParserApi

java.lang.Object
com.castlabs.sdk.base.subtitles.SubtitleParserApi

public class SubtitleParserApi extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SubtitleParserApi(Looper parserLooper, Handler rendererHandler)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BaseSubtitleInputBuffer`
  `dequeueInputBuffer()`
  `void`
  `disable()`
  `void`
  `enqueueInputBuffer(BaseSubtitleInputBuffer mInputBuffer, String baseUrl, boolean parse)`
  `void`
  `setFormat(SubtitleFormat format)`
  `void`
  `setViewParserHelper(SubtitlesView view)`
  `void`
  `updatePlayerPosition(long positionUs)`

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

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

- ## Constructor Details

  - ### SubtitleParserApi

    public SubtitleParserApi(Looper parserLooper, Handler rendererHandler)

- ## Method Details

  - ### setViewParserHelper

    public void setViewParserHelper(SubtitlesView view)

  - ### setFormat

    public void setFormat(SubtitleFormat format)

  - ### dequeueInputBuffer

    public BaseSubtitleInputBuffer dequeueInputBuffer()

  - ### enqueueInputBuffer

    public void enqueueInputBuffer(BaseSubtitleInputBuffer mInputBuffer, String baseUrl, boolean parse)

  - ### updatePlayerPosition

    public void updatePlayerPosition(long positionUs)

  - ### disable

    public void disable()