Add two methods two return the supported UTIs
This commit is contained in:
19 files changed
+127
-16
No files matched your search
@@ -9,21 +9,26 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <AudioToolbox/AudioToolbox.h>
|
||||
#import <MP42Foundation/MP42Utilities.h>
|
||||
#import <UniformTypeIdentifiers/UniformTypeIdentifiers.h>
|
||||
|
||||
@class MP42SampleBuffer;
|
||||
@class MP42AudioTrack;
|
||||
@class MP42VideoTrack;
|
||||
@class MP42Metadata;
|
||||
@class MP42Track;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MP42Metadata;
|
||||
@class MP42Track;
|
||||
|
||||
@interface MP42FileImporter : NSObject
|
||||
|
||||
+ (NSArray<NSString *> *)supportedFileFormats;
|
||||
+ (BOOL)canInitWithFileType:(NSString *)fileType;
|
||||
|
||||
+ (NSArray<UTType *> *)supportedContentTypes;
|
||||
+ (BOOL)canInitWithContentType:(UTType *)contentType;
|
||||
|
||||
|
||||
- (nullable instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)error;
|
||||
|
||||
@property (nonatomic, readonly) NSURL *fileURL;
|
||||
|
||||
Reference in new issue
Block a user