Chapter & Subtitle
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 |