Enclosing class: : SubscriberKit


public static interface SubscriberKit.CaptionsListener

A listener for updated caption text.

See Also: : - SubscriberKit.setCaptionsListener(CaptionsListener listener)

Method Summary

All MethodsInstance MethodsAbstract Methods

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.