Skip to main content

Chapter & Subtitle

Chapter Class

#import <Chapter.h>

A class that holds chapter information.

Properties

  • NSTimeInterval position
  • NSString * value

Property Details

PropertyDescription
(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 * strLanguage
  • NSMutableArray * listChapter

Property Details

PropertyDescription
(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 startTime
  • NSInteger endTime

Property Details

PropertyDescription
(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 * strName
  • NSString * strUrl
  • NSString * strLanguage
  • BOOL isAISubtitles

Property Details

PropertyDescription
(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