Skip to main content

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