1 #import <Foundation/Foundation.h> 2 #import "OOReturnState.h" 17 @property(readonly, nonatomic, strong) NSURL *
url;
19 @property(readonly, nonatomic, strong) NSDictionary *
vttCaptions;
21 - (instancetype)init
__attribute__((unavailable("use initWithDictionary:")));
30 - (instancetype)initWithDictionary:(NSDictionary *)data;
39 - (OOReturnState)updateWithDictionary:(NSDictionary *)data;
47 - (void)updateWithVttDictionary:(NSDictionary *)data;
62 - (NSArray *)closedCaptionsForLanguage:(NSString *)language;
70 - (
OOCaption *)captionForLanguage:(NSString *)language time:(Float64)time;
BOOL fetchClosedCaptionsInfo()
INTERNAL.
NSURL * url
URL of the close captions source file.
Definition: OOClosedCaptions.h:17
NSDictionary * vttCaptions
the vtt caption dictionary
Definition: OOClosedCaptions.h:19
(unavailable("use initWithDictionary:" __attribute__()
NSString * defaultLanguage
Default close caption langauge.
Definition: OOClosedCaptions.h:15
An object which represents all closed captions information for the asset.
Definition: OOClosedCaptions.h:10
NSArray * languages
List of available langauges.
Definition: OOClosedCaptions.h:13
Single timed text item.
Definition: OOCaption.h:15