| FFmpegKit iOS / macOS / tvOS API 6.0

Loading...
Searching...
No Matches
MediaInformationSession.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 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 License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General License
17 * along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef FFMPEG_KIT_MEDIA_INFORMATION_SESSION_H
21#define FFMPEG_KIT_MEDIA_INFORMATION_SESSION_H
22
23#import <Foundation/Foundation.h>
24#import "AbstractSession.h"
25#import "MediaInformation.h"
26#import "MediaInformationSessionCompleteCallback.h"
27
32@interface MediaInformationSession : AbstractSession
33
40+ (instancetype)create:(NSArray*)arguments;
41
49+ (instancetype)create:(NSArray*)arguments withCompleteCallback:(MediaInformationSessionCompleteCallback)completeCallback;
50
59+ (instancetype)create:(NSArray*)arguments withCompleteCallback:(MediaInformationSessionCompleteCallback)completeCallback withLogCallback:(LogCallback)logCallback;
60
67- (MediaInformation*)getMediaInformation;
68
74- (void)setMediaInformation:(MediaInformation*)mediaInformation;
75
81- (MediaInformationSessionCompleteCallback)getCompleteCallback;
82
83@end
84
85#endif // FFMPEG_KIT_MEDIA_INFORMATION_SESSION_H
AbstractSession.h
LogCallback
void(^ LogCallback)(Log *log)
Definition LogCallback.h:31
MediaInformation.h
MediaInformationSessionCompleteCallback.h
MediaInformationSessionCompleteCallback
void(^ MediaInformationSessionCompleteCallback)(MediaInformationSession *session)
Definition MediaInformationSessionCompleteCallback.h:47
AbstractSession
Definition AbstractSession.h:35
MediaInformation
Definition MediaInformation.h:41
MediaInformationSession
Definition MediaInformationSession.h:33
-[MediaInformationSession getMediaInformation]
MediaInformation * getMediaInformation()
Definition MediaInformationSession.m:56
-[MediaInformationSession getCompleteCallback]
MediaInformationSessionCompleteCallback getCompleteCallback()
Definition MediaInformationSession.m:64