Add two methods two return the supported UTIs

This commit is contained in:
Damiano Galassi committed 2026-09-22 18:50:05 +02:00
1 parent 86dce73880
commit 57236970a3
19 files changed
+127 -16

No files matched your search

+7 -2
View File
@@ -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;