1
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
2
// Use of this source code is governed by a BSD-style license that can be
3
3
// found in the LICENSE file.
4
- // Autogenerated from Pigeon (v3.1.2 ), do not edit directly.
4
+ // Autogenerated from Pigeon (v3.1.4 ), do not edit directly.
5
5
// See also: https://pub.dev/packages/pigeon
6
6
#import < Foundation/Foundation.h>
7
7
@protocol FlutterBinaryMessenger;
@@ -79,12 +79,18 @@ typedef NS_ENUM(NSUInteger, FWFNSHttpCookiePropertyKeyEnum) {
79
79
};
80
80
81
81
@class FWFNSKeyValueObservingOptionsEnumData;
82
+ @class FWFNSKeyValueChangeKeyEnumData;
82
83
@class FWFWKUserScriptInjectionTimeEnumData;
83
84
@class FWFWKAudiovisualMediaTypeEnumData;
84
85
@class FWFWKWebsiteDataTypeEnumData;
86
+ @class FWFWKNavigationActionPolicyEnumData;
85
87
@class FWFNSHttpCookiePropertyKeyEnumData;
86
88
@class FWFNSUrlRequestData;
87
89
@class FWFWKUserScriptData;
90
+ @class FWFWKNavigationActionData;
91
+ @class FWFWKFrameInfoData;
92
+ @class FWFNSErrorData;
93
+ @class FWFWKScriptMessageData;
88
94
@class FWFNSHttpCookieData;
89
95
90
96
@interface FWFNSKeyValueObservingOptionsEnumData : NSObject
@@ -94,6 +100,13 @@ typedef NS_ENUM(NSUInteger, FWFNSHttpCookiePropertyKeyEnum) {
94
100
@property (nonatomic , assign ) FWFNSKeyValueObservingOptionsEnum value;
95
101
@end
96
102
103
+ @interface FWFNSKeyValueChangeKeyEnumData : NSObject
104
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
105
+ - (instancetype )init NS_UNAVAILABLE;
106
+ + (instancetype )makeWithValue : (FWFNSKeyValueChangeKeyEnum)value ;
107
+ @property (nonatomic , assign ) FWFNSKeyValueChangeKeyEnum value;
108
+ @end
109
+
97
110
@interface FWFWKUserScriptInjectionTimeEnumData : NSObject
98
111
// / `init` unavailable to enforce nonnull fields, see the `make` class method.
99
112
- (instancetype )init NS_UNAVAILABLE;
@@ -115,6 +128,13 @@ typedef NS_ENUM(NSUInteger, FWFNSHttpCookiePropertyKeyEnum) {
115
128
@property (nonatomic , assign ) FWFWKWebsiteDataTypeEnum value;
116
129
@end
117
130
131
+ @interface FWFWKNavigationActionPolicyEnumData : NSObject
132
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
133
+ - (instancetype )init NS_UNAVAILABLE;
134
+ + (instancetype )makeWithValue : (FWFWKNavigationActionPolicyEnum)value ;
135
+ @property (nonatomic , assign ) FWFWKNavigationActionPolicyEnum value;
136
+ @end
137
+
118
138
@interface FWFNSHttpCookiePropertyKeyEnumData : NSObject
119
139
// / `init` unavailable to enforce nonnull fields, see the `make` class method.
120
140
- (instancetype )init NS_UNAVAILABLE;
@@ -146,6 +166,41 @@ typedef NS_ENUM(NSUInteger, FWFNSHttpCookiePropertyKeyEnum) {
146
166
@property (nonatomic , strong ) NSNumber *isMainFrameOnly;
147
167
@end
148
168
169
+ @interface FWFWKNavigationActionData : NSObject
170
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
171
+ - (instancetype )init NS_UNAVAILABLE;
172
+ + (instancetype )makeWithRequest : (FWFNSUrlRequestData *)request
173
+ targetFrame : (FWFWKFrameInfoData *)targetFrame ;
174
+ @property (nonatomic , strong ) FWFNSUrlRequestData *request;
175
+ @property (nonatomic , strong ) FWFWKFrameInfoData *targetFrame;
176
+ @end
177
+
178
+ @interface FWFWKFrameInfoData : NSObject
179
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
180
+ - (instancetype )init NS_UNAVAILABLE;
181
+ + (instancetype )makeWithIsMainFrame : (NSNumber *)isMainFrame ;
182
+ @property (nonatomic , strong ) NSNumber *isMainFrame;
183
+ @end
184
+
185
+ @interface FWFNSErrorData : NSObject
186
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
187
+ - (instancetype )init NS_UNAVAILABLE;
188
+ + (instancetype )makeWithCode : (NSNumber *)code
189
+ domain : (NSString *)domain
190
+ localizedDescription : (NSString *)localizedDescription ;
191
+ @property (nonatomic , strong ) NSNumber *code;
192
+ @property (nonatomic , copy ) NSString *domain;
193
+ @property (nonatomic , copy ) NSString *localizedDescription;
194
+ @end
195
+
196
+ @interface FWFWKScriptMessageData : NSObject
197
+ // / `init` unavailable to enforce nonnull fields, see the `make` class method.
198
+ - (instancetype )init NS_UNAVAILABLE;
199
+ + (instancetype )makeWithName : (NSString *)name body : (id )body ;
200
+ @property (nonatomic , copy ) NSString *name;
201
+ @property (nonatomic , strong ) id body;
202
+ @end
203
+
149
204
@interface FWFNSHttpCookieData : NSObject
150
205
// / `init` unavailable to enforce nonnull fields, see the `make` class method.
151
206
- (instancetype )init NS_UNAVAILABLE;
@@ -298,6 +353,16 @@ extern void FWFWKScriptMessageHandlerHostApiSetup(
298
353
id <FlutterBinaryMessenger> binaryMessenger,
299
354
NSObject <FWFWKScriptMessageHandlerHostApi> *_Nullable api);
300
355
356
+ // / The codec used by FWFWKScriptMessageHandlerFlutterApi.
357
+ NSObject <FlutterMessageCodec> *FWFWKScriptMessageHandlerFlutterApiGetCodec (void );
358
+
359
+ @interface FWFWKScriptMessageHandlerFlutterApi : NSObject
360
+ - (instancetype )initWithBinaryMessenger : (id <FlutterBinaryMessenger>)binaryMessenger ;
361
+ - (void )didReceiveScriptMessageForHandlerWithIdentifier : (NSNumber *)identifier
362
+ userContentControllerIdentifier : (NSNumber *)userContentControllerIdentifier
363
+ message : (FWFWKScriptMessageData *)message
364
+ completion : (void (^)(NSError *_Nullable))completion ;
365
+ @end
301
366
// / The codec used by FWFWKNavigationDelegateHostApi.
302
367
NSObject <FlutterMessageCodec> *FWFWKNavigationDelegateHostApiGetCodec (void );
303
368
@@ -318,6 +383,33 @@ NSObject<FlutterMessageCodec> *FWFWKNavigationDelegateFlutterApiGetCodec(void);
318
383
webViewIdentifier : (NSNumber *)webViewIdentifier
319
384
URL : (nullable NSString *)url
320
385
completion : (void (^)(NSError *_Nullable))completion ;
386
+ - (void )didStartProvisionalNavigationForDelegateWithIdentifier : (NSNumber *)identifier
387
+ webViewIdentifier : (NSNumber *)webViewIdentifier
388
+ URL : (nullable NSString *)url
389
+ completion :
390
+ (void (^)(NSError *_Nullable))completion ;
391
+ - (void )
392
+ decidePolicyForNavigationActionForDelegateWithIdentifier:(NSNumber *)identifier
393
+ webViewIdentifier : (NSNumber *)webViewIdentifier
394
+ navigationAction :
395
+ (FWFWKNavigationActionData *)navigationAction
396
+ completion :
397
+ (void (^)(FWFWKNavigationActionPolicyEnumData
398
+ *_Nullable,
399
+ NSError *_Nullable))completion ;
400
+ - (void )didFailNavigationForDelegateWithIdentifier : (NSNumber *)identifier
401
+ webViewIdentifier : (NSNumber *)webViewIdentifier
402
+ error : (FWFNSErrorData *)error
403
+ completion : (void (^)(NSError *_Nullable))completion ;
404
+ - (void )didFailProvisionalNavigationForDelegateWithIdentifier : (NSNumber *)identifier
405
+ webViewIdentifier : (NSNumber *)webViewIdentifier
406
+ error : (FWFNSErrorData *)error
407
+ completion :
408
+ (void (^)(NSError *_Nullable))completion ;
409
+ - (void )webViewWebContentProcessDidTerminateForDelegateWithIdentifier : (NSNumber *)identifier
410
+ webViewIdentifier : (NSNumber *)webViewIdentifier
411
+ completion : (void (^)(NSError *_Nullable))
412
+ completion;
321
413
@end
322
414
// / The codec used by FWFNSObjectHostApi.
323
415
NSObject <FlutterMessageCodec> *FWFNSObjectHostApiGetCodec (void );
@@ -345,6 +437,12 @@ NSObject<FlutterMessageCodec> *FWFNSObjectFlutterApiGetCodec(void);
345
437
346
438
@interface FWFNSObjectFlutterApi : NSObject
347
439
- (instancetype )initWithBinaryMessenger : (id <FlutterBinaryMessenger>)binaryMessenger ;
440
+ - (void )observeValueForObjectWithIdentifier : (NSNumber *)identifier
441
+ keyPath : (NSString *)keyPath
442
+ objectIdentifier : (NSNumber *)objectIdentifier
443
+ changeKeys : (NSArray <FWFNSKeyValueChangeKeyEnumData *> *)changeKeys
444
+ changeValues : (NSArray <id> *)changeValues
445
+ completion : (void (^)(NSError *_Nullable))completion ;
348
446
@end
349
447
// / The codec used by FWFWKWebViewHostApi.
350
448
NSObject <FlutterMessageCodec> *FWFWKWebViewHostApiGetCodec (void );
@@ -420,6 +518,17 @@ NSObject<FlutterMessageCodec> *FWFWKUIDelegateHostApiGetCodec(void);
420
518
extern void FWFWKUIDelegateHostApiSetup (id <FlutterBinaryMessenger> binaryMessenger,
421
519
NSObject <FWFWKUIDelegateHostApi> *_Nullable api);
422
520
521
+ // / The codec used by FWFWKUIDelegateFlutterApi.
522
+ NSObject <FlutterMessageCodec> *FWFWKUIDelegateFlutterApiGetCodec (void );
523
+
524
+ @interface FWFWKUIDelegateFlutterApi : NSObject
525
+ - (instancetype )initWithBinaryMessenger : (id <FlutterBinaryMessenger>)binaryMessenger ;
526
+ - (void )onCreateWebViewForDelegateWithIdentifier : (NSNumber *)identifier
527
+ webViewIdentifier : (NSNumber *)webViewIdentifier
528
+ configurationIdentifier : (NSNumber *)configurationIdentifier
529
+ navigationAction : (FWFWKNavigationActionData *)navigationAction
530
+ completion : (void (^)(NSError *_Nullable))completion ;
531
+ @end
423
532
// / The codec used by FWFWKHttpCookieStoreHostApi.
424
533
NSObject <FlutterMessageCodec> *FWFWKHttpCookieStoreHostApiGetCodec (void );
425
534
0 commit comments