SubscriberKit.CaptionsListener
Copy
public abstract static interface CaptionsListener
Enclosing class: SubscriberKit
A listener for updated caption text.
Methods
| Name | Description |
|---|---|
onCaptionText(subscriber, text, isFinal) |
Called with the new caption text of the stream's audio. |
onCaptionText(subscriber, text, isFinal)
Called with the new caption text of the stream's audio.
Parameters:
| Name | Type | Description |
|---|---|---|
subscriber |
SubscriberKit | The subscriber. |
text |
String | The caption text. |
isFinal |
boolean | Indicates whether a caption is finished. |