blob: d0f9d977f4b5ea40dbaf8de53346ce0bf50ef628 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Autogenerated from Pigeon (v13.0.0), do not edit directly.
// See also:
#import <Foundation/Foundation.h>
@protocol FlutterBinaryMessenger;
@protocol FlutterMessageCodec;
@class FlutterError;
@class FlutterStandardTypedData;
@class FFSFileSelectorConfig;
@interface FFSFileSelectorConfig : NSObject
/// `init` unavailable to enforce nonnull fields, see the `make` class method.
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)makeWithUtis:(NSArray<NSString *> *)utis
@property(nonatomic, copy) NSArray<NSString *> *utis;
@property(nonatomic, assign) BOOL allowMultiSelection;
/// The codec used by FFSFileSelectorApi.
NSObject<FlutterMessageCodec> *FFSFileSelectorApiGetCodec(void);
@protocol FFSFileSelectorApi
- (void)openFileSelectorWithConfig:(FFSFileSelectorConfig *)config
completion:(void (^)(NSArray<NSString *> *_Nullable,
FlutterError *_Nullable))completion;
extern void SetUpFFSFileSelectorApi(id<FlutterBinaryMessenger> binaryMessenger,
NSObject<FFSFileSelectorApi> *_Nullable api);