Interface SubscriberKit.CaptionsListener

Enclosing class:
SubscriberKit

public static interface SubscriberKit.CaptionsListener
A listener for updated caption text.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCaptionText(SubscriberKit subscriber, String text, boolean isFinal)
    Called with the new caption text of the stream's audio.
  • Method Details

    • onCaptionText

      void onCaptionText(SubscriberKit subscriber, String text, boolean isFinal)
      Called with the new caption text of the stream's audio.
      Parameters:
      subscriber - The subscriber.
      text - The caption text.
      isFinal - Indicates whether a caption is finished.