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

Loading...
Searching...
No Matches
Session.h
Go to the documentation of this file.
/*
* Copyright (c) 2021 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 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 License for more details.
*
* You should have received a copy of the GNU Lesser General License
* along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FFMPEG_KIT_SESSION_H
#define FFMPEG_KIT_SESSION_H
#import <Foundation/Foundation.h>
#import "Log.h"
#import "LogCallback.h"
#import "LogRedirectionStrategy.h"
#import "ReturnCode.h"
#import "SessionState.h"
@protocol Session
@required
- (LogCallback)getLogCallback;
- (long)getSessionId;
- (NSDate*)getCreateTime;
- (NSDate*)getStartTime;
- (NSDate*)getEndTime;
- (long)getDuration;
- (NSArray*)getArguments;
- (NSString*)getCommand;
- (NSArray*)getAllLogsWithTimeout:(int)waitTimeout;
- (NSArray*)getAllLogs;
- (NSArray*)getLogs;
- (NSString*)getAllLogsAsStringWithTimeout:(int)waitTimeout;
- (NSString*)getAllLogsAsString;
- (NSString*)getLogsAsString;
- (NSString*)getOutput;
- (SessionState)getState;
- (ReturnCode*)getReturnCode;
- (NSString*)getFailStackTrace;
- (LogRedirectionStrategy)getLogRedirectionStrategy;
- (BOOL)thereAreAsynchronousMessagesInTransmit;
- (void)addLog:(Log*)log;
- (void)startRunning;
- (void)complete:(ReturnCode*)returnCode;
- (void)fail:(NSException*)exception;
- (BOOL)isFFmpeg;
- (BOOL)isFFprobe;
- (BOOL)isMediaInformation;
- (void)cancel;
@end
#endif // FFMPEG_KIT_SESSION_H
Log.h
LogCallback.h
LogCallback
void(^ LogCallback)(Log *log)
Definition LogCallback.h:31
LogRedirectionStrategy.h
ReturnCode.h
SessionState.h
Log
Definition Log.h:29
ReturnCode
Definition ReturnCode.h:31