# FFmpegKit iOS / macOS / tvOS API: Chapter.h Source File

Chapter.h
Go to the documentation of this file.
/*
* Copyright (c) 2021-2022 Taner Sener
*
* This file is part of FFmpegKit.
*
* FFmpegKit is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* FFmpegKit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FFMPEG_KIT_CHAPTER_H
#define FFMPEG_KIT_CHAPTER_H
#import <Foundation/Foundation.h>
extern NSString* const ChapterKeyId;
extern NSString* const ChapterKeyTimeBase;
extern NSString* const ChapterKeyStart;
extern NSString* const ChapterKeyStartTime;
extern NSString* const ChapterKeyEnd;
extern NSString* const ChapterKeyEndTime;
extern NSString* const ChapterKeyTags;
@interface Chapter : NSObject
- (instancetype)init:(NSDictionary*)chapterDictionary;
- (NSNumber*)getId;
- (NSString*)getTimeBase;
- (NSNumber*)getStart;
- (NSString*)getStartTime;
- (NSNumber*)getEnd;
- (NSString*)getEndTime;
- (NSDictionary*)getTags;
- (NSString*)getStringProperty:(NSString*)key;
- (NSNumber*)getNumberProperty:(NSString*)key;
- (id)getProperty:(NSString*)key;
- (NSDictionary*)getAllProperties;
@end
#endif // FFMPEG_KIT_CHAPTER_H
ChapterKeyTimeBase
NSString *const ChapterKeyTimeBase
Definition: Chapter.m:23
ChapterKeyStartTime
NSString *const ChapterKeyStartTime
Definition: Chapter.m:25
ChapterKeyId
NSString *const ChapterKeyId
Definition: Chapter.m:22
ChapterKeyEndTime
NSString *const ChapterKeyEndTime
Definition: Chapter.m:27
ChapterKeyEnd
NSString *const ChapterKeyEnd
Definition: Chapter.m:26
ChapterKeyTags
NSString *const ChapterKeyTags
Definition: Chapter.m:28
ChapterKeyStart
NSString *const ChapterKeyStart
Definition: Chapter.m:24
Chapter
Definition: Chapter.h:37
-[Chapter getTimeBase]
NSString * getTimeBase()
Definition: Chapter.m:52
-[Chapter getTags]
NSDictionary * getTags()
Definition: Chapter.m:72
-[Chapter getAllProperties]
NSDictionary * getAllProperties()
Definition: Chapter.m:103
-[Chapter getEnd]
NSNumber * getEnd()
Definition: Chapter.m:64
-[Chapter getStartTime]
NSString * getStartTime()
Definition: Chapter.m:60
-[Chapter getEndTime]
NSString * getEndTime()
Definition: Chapter.m:68
-[Chapter getStart]
NSNumber * getStart()
Definition: Chapter.m:56
-[Chapter getId]
NSNumber * getId()
Definition: Chapter.m:48