FFmpegKit iOS / macOS / tvOS API 6.0
Loading...
Searching...
No Matches
Chapter.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021-2022 Taner Sener
3 *
4 * This file is part of FFmpegKit.
5 *
6 * FFmpegKit is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FFmpegKit is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef FFMPEG_KIT_CHAPTER_H
21#define FFMPEG_KIT_CHAPTER_H
22
23#import <Foundation/Foundation.h>
24
25extern NSString* const ChapterKeyId;
26extern NSString* const ChapterKeyTimeBase;
27extern NSString* const ChapterKeyStart;
28extern NSString* const ChapterKeyStartTime;
29extern NSString* const ChapterKeyEnd;
30extern NSString* const ChapterKeyEndTime;
31extern NSString* const ChapterKeyTags;
32
36@interface Chapter : NSObject
37
38- (instancetype)init:(NSDictionary*)chapterDictionary;
39
40- (NSNumber*)getId;
41
42- (NSString*)getTimeBase;
43
44- (NSNumber*)getStart;
45
46- (NSString*)getStartTime;
47
48- (NSNumber*)getEnd;
49
50- (NSString*)getEndTime;
51
52- (NSDictionary*)getTags;
53
59- (NSString*)getStringProperty:(NSString*)key;
60
66- (NSNumber*)getNumberProperty:(NSString*)key;
67
73- (id)getProperty:(NSString*)key;
74
80- (NSDictionary*)getAllProperties;
81
82@end
83
84#endif // FFMPEG_KIT_CHAPTER_H
NSString *const ChapterKeyTimeBase
Definition Chapter.m:23
NSString *const ChapterKeyStartTime
Definition Chapter.m:25
NSString *const ChapterKeyId
Definition Chapter.m:22
NSString *const ChapterKeyEndTime
Definition Chapter.m:27
NSString *const ChapterKeyEnd
Definition Chapter.m:26
NSString *const ChapterKeyTags
Definition Chapter.m:28
NSString *const ChapterKeyStart
Definition Chapter.m:24
NSString * getTimeBase()
Definition Chapter.m:52
NSDictionary * getTags()
Definition Chapter.m:72
NSDictionary * getAllProperties()
Definition Chapter.m:103
NSNumber * getEnd()
Definition Chapter.m:64
NSString * getStartTime()
Definition Chapter.m:60
NSString * getEndTime()
Definition Chapter.m:68
NSNumber * getStart()
Definition Chapter.m:56
NSNumber * getId()
Definition Chapter.m:48