OTSubscriberKitCaptionsDelegate Protocol Reference

Conforms to NSObject
Declared in OTSubscriberKit.h

Overview

Used for receiving captions for a subscriber’s stream.

– subscriber:caption:isFinal:

Sent when there is new caption text.

- (void)subscriber:(nonnull OTSubscriberKit *)subscriber caption:(NSString *_Nonnull)text isFinal:(BOOL)isFinal

Parameters

subscriber

The subscriber instance being represented.

text

The caption text.

isFinal

indicates whether a caption is finished.

Declared In

OTSubscriberKit.h