Chapter & Subtitle
Notice
This document is a machine-translated draft and is currently undergoing review. Some content may be inaccurate or differ from the original Korean version. For the most precise information, refer to the Korean documentation.
Chapter class
#import <Chapter.h>
A class that holds chapter information.
Properties
NSTimeInterval positionNSString * value
Property details
| Property | Description |
|---|---|
(NSTimeInterval) position[nonatomic, unsafe_unretained] | Chapter position |
(NSString*) value[nonatomic, retain] | Chapter title |
Chapterdict class
#import <Chapter.h>
A class that holds a list of chapters per language.
Properties
NSString * strLanguageNSMutableArray * listChapter
Property details
| Property | Description |
|---|---|
(NSString*) strLanguage[nonatomic, retain] | Chapter language |
(NSMutableArray*) listChapter[nonatomic, retain] | Chapter list |
Kpsection class
#import <KPSection.h>
A class that holds the start and end times of a preview section.
Properties
NSInteger startTimeNSInteger endTime
Property details
| Property | Description |
|---|---|
(NSInteger) startTime[read, write, nonatomic, unsafe_unretained] | Playback section start time (sec) |
(NSInteger) endTime[read, write, nonatomic, unsafe_unretained] | Playback section end time (sec) |
Subtitleinfo class
#import <SubTitleInfo.h>
A class that holds subtitle file information such as subtitle name, path, and language.
Properties
NSString * strNameNSString * strUrlNSString * strLanguageBOOL isAISubtitles
Property details
| Property | Description |
|---|---|
(NSString*) strName[read, nonatomic, retain] | Subtitle name |
(NSString*) strUrl[read, nonatomic, retain] | Subtitle path |
(NSString*) strLanguage[read, nonatomic, retain] | Subtitle language |
(BOOL) isAISubtitles[read, nonatomic, unsafe_unretained] | Whether the subtitle is AI-generated |