| // 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 (v3.0.3), do not edit directly. |
| // See also: https://pub.dev/packages/pigeon |
| #import <Foundation/Foundation.h> |
| @protocol FlutterBinaryMessenger; |
| @protocol FlutterMessageCodec; |
| @class FlutterError; |
| @class FlutterStandardTypedData; |
| |
| NS_ASSUME_NONNULL_BEGIN |
| |
| typedef NS_ENUM(NSUInteger, FWFNSKeyValueObservingOptionsEnum) { |
| FWFNSKeyValueObservingOptionsEnumNewValue = 0, |
| FWFNSKeyValueObservingOptionsEnumOldValue = 1, |
| FWFNSKeyValueObservingOptionsEnumInitialValue = 2, |
| FWFNSKeyValueObservingOptionsEnumPriorNotification = 3, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFNSKeyValueChangeEnum) { |
| FWFNSKeyValueChangeEnumSetting = 0, |
| FWFNSKeyValueChangeEnumInsertion = 1, |
| FWFNSKeyValueChangeEnumRemoval = 2, |
| FWFNSKeyValueChangeEnumReplacement = 3, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFNSKeyValueChangeKeyEnum) { |
| FWFNSKeyValueChangeKeyEnumIndexes = 0, |
| FWFNSKeyValueChangeKeyEnumKind = 1, |
| FWFNSKeyValueChangeKeyEnumNewValue = 2, |
| FWFNSKeyValueChangeKeyEnumNotificationIsPrior = 3, |
| FWFNSKeyValueChangeKeyEnumOldValue = 4, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFWKUserScriptInjectionTimeEnum) { |
| FWFWKUserScriptInjectionTimeEnumAtDocumentStart = 0, |
| FWFWKUserScriptInjectionTimeEnumAtDocumentEnd = 1, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFWKAudiovisualMediaTypeEnum) { |
| FWFWKAudiovisualMediaTypeEnumNone = 0, |
| FWFWKAudiovisualMediaTypeEnumAudio = 1, |
| FWFWKAudiovisualMediaTypeEnumVideo = 2, |
| FWFWKAudiovisualMediaTypeEnumAll = 3, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFWKWebsiteDataTypesEnum) { |
| FWFWKWebsiteDataTypesEnumCookies = 0, |
| FWFWKWebsiteDataTypesEnumMemoryCache = 1, |
| FWFWKWebsiteDataTypesEnumDiskCache = 2, |
| FWFWKWebsiteDataTypesEnumOfflineWebApplicationCache = 3, |
| FWFWKWebsiteDataTypesEnumLocalStroage = 4, |
| FWFWKWebsiteDataTypesEnumSessionStorage = 5, |
| FWFWKWebsiteDataTypesEnumSqlDatabases = 6, |
| FWFWKWebsiteDataTypesEnumIndexedDBDatabases = 7, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFWKNavigationActionPolicyEnum) { |
| FWFWKNavigationActionPolicyEnumAllow = 0, |
| FWFWKNavigationActionPolicyEnumCancel = 1, |
| }; |
| |
| typedef NS_ENUM(NSUInteger, FWFNSHttpCookiePropertyKeyEnum) { |
| FWFNSHttpCookiePropertyKeyEnumComment = 0, |
| FWFNSHttpCookiePropertyKeyEnumCommentUrl = 1, |
| FWFNSHttpCookiePropertyKeyEnumDiscard = 2, |
| FWFNSHttpCookiePropertyKeyEnumDomain = 3, |
| FWFNSHttpCookiePropertyKeyEnumExpires = 4, |
| FWFNSHttpCookiePropertyKeyEnumMaximumAge = 5, |
| FWFNSHttpCookiePropertyKeyEnumName = 6, |
| FWFNSHttpCookiePropertyKeyEnumOriginUrl = 7, |
| FWFNSHttpCookiePropertyKeyEnumPath = 8, |
| FWFNSHttpCookiePropertyKeyEnumPort = 9, |
| FWFNSHttpCookiePropertyKeyEnumSameSitePolicy = 10, |
| FWFNSHttpCookiePropertyKeyEnumSecure = 11, |
| FWFNSHttpCookiePropertyKeyEnumValue = 12, |
| FWFNSHttpCookiePropertyKeyEnumVersion = 13, |
| }; |
| |
| @class FWFNSKeyValueObservingOptionsEnumData; |
| @class FWFWKUserScriptInjectionTimeEnumData; |
| @class FWFWKAudiovisualMediaTypeEnumData; |
| @class FWFWKWebsiteDataTypesEnumData; |
| @class FWFNSHttpCookiePropertyKeyEnumData; |
| @class FWFNSUrlRequestData; |
| @class FWFWKUserScriptData; |
| @class FWFNSHttpCookieData; |
| |
| @interface FWFNSKeyValueObservingOptionsEnumData : NSObject |
| + (instancetype)makeWithValue:(FWFNSKeyValueObservingOptionsEnum)value; |
| @property(nonatomic, assign) FWFNSKeyValueObservingOptionsEnum value; |
| @end |
| |
| @interface FWFWKUserScriptInjectionTimeEnumData : NSObject |
| + (instancetype)makeWithValue:(FWFWKUserScriptInjectionTimeEnum)value; |
| @property(nonatomic, assign) FWFWKUserScriptInjectionTimeEnum value; |
| @end |
| |
| @interface FWFWKAudiovisualMediaTypeEnumData : NSObject |
| + (instancetype)makeWithValue:(FWFWKAudiovisualMediaTypeEnum)value; |
| @property(nonatomic, assign) FWFWKAudiovisualMediaTypeEnum value; |
| @end |
| |
| @interface FWFWKWebsiteDataTypesEnumData : NSObject |
| + (instancetype)makeWithValue:(FWFWKWebsiteDataTypesEnum)value; |
| @property(nonatomic, assign) FWFWKWebsiteDataTypesEnum value; |
| @end |
| |
| @interface FWFNSHttpCookiePropertyKeyEnumData : NSObject |
| + (instancetype)makeWithValue:(FWFNSHttpCookiePropertyKeyEnum)value; |
| @property(nonatomic, assign) FWFNSHttpCookiePropertyKeyEnum value; |
| @end |
| |
| @interface FWFNSUrlRequestData : NSObject |
| /// `init` unavailable to enforce nonnull fields, see the `make` class method. |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)makeWithUrl:(NSString *)url |
| httpMethod:(nullable NSString *)httpMethod |
| httpBody:(nullable FlutterStandardTypedData *)httpBody |
| allHttpHeaderFields:(NSDictionary<NSString *, NSString *> *)allHttpHeaderFields; |
| @property(nonatomic, copy) NSString *url; |
| @property(nonatomic, copy, nullable) NSString *httpMethod; |
| @property(nonatomic, strong, nullable) FlutterStandardTypedData *httpBody; |
| @property(nonatomic, strong) NSDictionary<NSString *, NSString *> *allHttpHeaderFields; |
| @end |
| |
| @interface FWFWKUserScriptData : NSObject |
| /// `init` unavailable to enforce nonnull fields, see the `make` class method. |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)makeWithSource:(NSString *)source |
| injectionTime:(nullable FWFWKUserScriptInjectionTimeEnumData *)injectionTime |
| isMainFrameOnly:(NSNumber *)isMainFrameOnly; |
| @property(nonatomic, copy) NSString *source; |
| @property(nonatomic, strong, nullable) FWFWKUserScriptInjectionTimeEnumData *injectionTime; |
| @property(nonatomic, strong) NSNumber *isMainFrameOnly; |
| @end |
| |
| @interface FWFNSHttpCookieData : NSObject |
| /// `init` unavailable to enforce nonnull fields, see the `make` class method. |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)makeWithProperties: |
| (NSDictionary<FWFNSHttpCookiePropertyKeyEnumData *, NSString *> *)properties; |
| @property(nonatomic, strong) |
| NSDictionary<FWFNSHttpCookiePropertyKeyEnumData *, NSString *> *properties; |
| @end |
| |
| /// The codec used by FWFWKWebsiteDataStoreHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKWebsiteDataStoreHostApiGetCodec(void); |
| |
| @protocol FWFWKWebsiteDataStoreHostApi |
| - (void)createDataStoreFromConfigurationWithIdentifier:(NSNumber *)instanceId |
| configurationIdentifier:(NSNumber *)configurationInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)createDefaultDataStoreWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)removeDataFromDataStoreWithIdentifier:(NSNumber *)instanceId |
| ofTypes:(NSArray<FWFWKWebsiteDataTypesEnumData *> *)dataTypes |
| secondsModifiedSinceEpoch:(NSNumber *)secondsModifiedSinceEpoch |
| completion:(void (^)(NSNumber *_Nullable, |
| FlutterError *_Nullable))completion; |
| @end |
| |
| extern void FWFWKWebsiteDataStoreHostApiSetup( |
| id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKWebsiteDataStoreHostApi> *_Nullable api); |
| |
| /// The codec used by FWFUIViewHostApi. |
| NSObject<FlutterMessageCodec> *FWFUIViewHostApiGetCodec(void); |
| |
| @protocol FWFUIViewHostApi |
| /// @return `nil` only when `error != nil`. |
| - (nullable NSArray<NSNumber *> *) |
| contentOffsetForViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setBackgroundColorForViewWithIdentifier:(NSNumber *)instanceId |
| toValue:(nullable NSNumber *)value |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setOpaqueForViewWithIdentifier:(NSNumber *)instanceId |
| isOpaque:(NSNumber *)opaque |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFUIViewHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFUIViewHostApi> *_Nullable api); |
| |
| /// The codec used by FWFUIScrollViewHostApi. |
| NSObject<FlutterMessageCodec> *FWFUIScrollViewHostApiGetCodec(void); |
| |
| @protocol FWFUIScrollViewHostApi |
| - (void)createFromWebViewWithIdentifier:(NSNumber *)instanceId |
| webViewIdentifier:(NSNumber *)webViewInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| /// @return `nil` only when `error != nil`. |
| - (nullable NSArray<NSNumber *> *) |
| contentOffsetForScrollViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)scrollByForScrollViewWithIdentifier:(NSNumber *)instanceId |
| toX:(NSNumber *)x |
| y:(NSNumber *)y |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setContentOffsetForScrollViewWithIdentifier:(NSNumber *)instanceId |
| toX:(NSNumber *)x |
| y:(NSNumber *)y |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFUIScrollViewHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFUIScrollViewHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKWebViewConfigurationHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKWebViewConfigurationHostApiGetCodec(void); |
| |
| @protocol FWFWKWebViewConfigurationHostApi |
| - (void)createWithIdentifier:(NSNumber *)instanceId error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)createFromWebViewWithIdentifier:(NSNumber *)instanceId |
| webViewIdentifier:(NSNumber *)webViewInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setAllowsInlineMediaPlaybackForConfigurationWithIdentifier:(NSNumber *)instanceId |
| isAlowed:(NSNumber *)allow |
| error: |
| (FlutterError *_Nullable *_Nonnull) |
| error; |
| - (void) |
| setMediaTypesRequiresUserActionForConfigurationWithIdentifier:(NSNumber *)instanceId |
| forTypes: |
| (NSArray< |
| FWFWKAudiovisualMediaTypeEnumData |
| *> *)types |
| error: |
| (FlutterError *_Nullable *_Nonnull) |
| error; |
| @end |
| |
| extern void FWFWKWebViewConfigurationHostApiSetup( |
| id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKWebViewConfigurationHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKUserContentControllerHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKUserContentControllerHostApiGetCodec(void); |
| |
| @protocol FWFWKUserContentControllerHostApi |
| - (void)createFromWebViewConfigurationWithIdentifier:(NSNumber *)instanceId |
| configurationIdentifier:(NSNumber *)configurationInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)addScriptMessageHandlerForControllerWithIdentifier:(NSNumber *)instanceId |
| handlerIdentifier:(NSNumber *)handlerInstanceid |
| ofName:(NSString *)name |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)removeScriptMessageHandlerForControllerWithIdentifier:(NSNumber *)instanceId |
| name:(NSString *)name |
| error:(FlutterError *_Nullable *_Nonnull) |
| error; |
| - (void)removeAllScriptMessageHandlersForControllerWithIdentifier:(NSNumber *)instanceId |
| error: |
| (FlutterError *_Nullable *_Nonnull) |
| error; |
| - (void)addUserScriptForControllerWithIdentifier:(NSNumber *)instanceId |
| userScript:(FWFWKUserScriptData *)userScript |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)removeAllUserScriptsForControllerWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKUserContentControllerHostApiSetup( |
| id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKUserContentControllerHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKPreferencesHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKPreferencesHostApiGetCodec(void); |
| |
| @protocol FWFWKPreferencesHostApi |
| - (void)createFromWebViewConfiguration:(NSNumber *)instanceId |
| configurationIdentifier:(NSNumber *)configurationInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setJavaScriptEnabledForPreferencesWithIdentifier:(NSNumber *)instanceId |
| isEnabled:(NSNumber *)enabled |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKPreferencesHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKPreferencesHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKScriptMessageHandlerHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKScriptMessageHandlerHostApiGetCodec(void); |
| |
| @protocol FWFWKScriptMessageHandlerHostApi |
| - (void)createWithIdentifier:(NSNumber *)instanceId error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKScriptMessageHandlerHostApiSetup( |
| id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKScriptMessageHandlerHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKNavigationDelegateHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKNavigationDelegateHostApiGetCodec(void); |
| |
| @protocol FWFWKNavigationDelegateHostApi |
| - (void)createWithIdentifier:(NSNumber *)instanceId error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setDidFinishNavigationForDelegateWithIdentifier:(NSNumber *)instanceId |
| functionIdentifier:(nullable NSNumber *)functionInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKNavigationDelegateHostApiSetup( |
| id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKNavigationDelegateHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKNavigationDelegateFlutterApi. |
| NSObject<FlutterMessageCodec> *FWFWKNavigationDelegateFlutterApiGetCodec(void); |
| |
| @interface FWFWKNavigationDelegateFlutterApi : NSObject |
| - (instancetype)initWithBinaryMessenger:(id<FlutterBinaryMessenger>)binaryMessenger; |
| - (void)didFinishNavigationForDelegateWithIdentifier:(NSNumber *)functionInstanceId |
| webViewIdentifier:(NSNumber *)webViewInstanceId |
| URL:(nullable NSString *)url |
| completion:(void (^)(NSError *_Nullable))completion; |
| @end |
| /// The codec used by FWFNSObjectHostApi. |
| NSObject<FlutterMessageCodec> *FWFNSObjectHostApiGetCodec(void); |
| |
| @protocol FWFNSObjectHostApi |
| - (void)disposeObjectWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)addObserverForObjectWithIdentifier:(NSNumber *)instanceId |
| observerIdentifier:(NSNumber *)observerInstanceId |
| keyPath:(NSString *)keyPath |
| options: |
| (NSArray<FWFNSKeyValueObservingOptionsEnumData *> *)options |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)removeObserverForObjectWithIdentifier:(NSNumber *)instanceId |
| observerIdentifier:(NSNumber *)observerInstanceId |
| keyPath:(NSString *)keyPath |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFNSObjectHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFNSObjectHostApi> *_Nullable api); |
| |
| /// The codec used by FWFFunctionFlutterApi. |
| NSObject<FlutterMessageCodec> *FWFFunctionFlutterApiGetCodec(void); |
| |
| @interface FWFFunctionFlutterApi : NSObject |
| - (instancetype)initWithBinaryMessenger:(id<FlutterBinaryMessenger>)binaryMessenger; |
| - (void)disposeFunctionWithIdentifier:(NSNumber *)instanceId |
| completion:(void (^)(NSError *_Nullable))completion; |
| @end |
| /// The codec used by FWFWKWebViewHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKWebViewHostApiGetCodec(void); |
| |
| @protocol FWFWKWebViewHostApi |
| - (void)createWithIdentifier:(NSNumber *)instanceId |
| configurationIdentifier:(NSNumber *)configurationInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setUIDelegateForWebViewWithIdentifier:(NSNumber *)instanceId |
| delegateIdentifier:(nullable NSNumber *)uiDelegateInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setNavigationDelegateForWebViewWithIdentifier:(NSNumber *)instanceId |
| delegateIdentifier: |
| (nullable NSNumber *)navigationDelegateInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (nullable NSString *)URLForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| /// @return `nil` only when `error != nil`. |
| - (nullable NSNumber *)estimatedProgressForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull) |
| error; |
| - (void)loadRequestForWebViewWithIdentifier:(NSNumber *)instanceId |
| request:(FWFNSUrlRequestData *)request |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)loadHTMLForWebViewWithIdentifier:(NSNumber *)instanceId |
| HTMLString:(NSString *)string |
| baseURL:(nullable NSString *)baseUrl |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)loadFileForWebViewWithIdentifier:(NSNumber *)instanceId |
| fileURL:(NSString *)url |
| readAccessURL:(NSString *)readAccessUrl |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)loadAssetForWebViewWithIdentifier:(NSNumber *)instanceId |
| assetKey:(NSString *)key |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| /// @return `nil` only when `error != nil`. |
| - (nullable NSNumber *)canGoBackForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| /// @return `nil` only when `error != nil`. |
| - (nullable NSNumber *)canGoForwardForWebViewWithIdentifier:(NSNumber *)instanceId |
| error: |
| (FlutterError *_Nullable *_Nonnull)error; |
| - (void)goBackForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)goForwardForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)reloadWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (nullable NSString *)titleForWebViewWithIdentifier:(NSNumber *)instanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setAllowsBackForwardForWebViewWithIdentifier:(NSNumber *)instanceId |
| isAllowed:(NSNumber *)allow |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setUserAgentForWebViewWithIdentifier:(NSNumber *)instanceId |
| userAgent:(nullable NSString *)userAgent |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)evaluateJavaScriptForWebViewWithIdentifier:(NSNumber *)instanceId |
| javaScriptString:(NSString *)javaScriptString |
| completion:(void (^)(id _Nullable, |
| FlutterError *_Nullable))completion; |
| @end |
| |
| extern void FWFWKWebViewHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKWebViewHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKUIDelegateHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKUIDelegateHostApiGetCodec(void); |
| |
| @protocol FWFWKUIDelegateHostApi |
| - (void)createWithIdentifier:(NSNumber *)instanceId error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKUIDelegateHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKUIDelegateHostApi> *_Nullable api); |
| |
| /// The codec used by FWFWKHttpCookieStoreHostApi. |
| NSObject<FlutterMessageCodec> *FWFWKHttpCookieStoreHostApiGetCodec(void); |
| |
| @protocol FWFWKHttpCookieStoreHostApi |
| - (void)createFromWebsiteDataStoreWithIdentifier:(NSNumber *)instanceId |
| dataStoreIdentifier:(NSNumber *)websiteDataStoreInstanceId |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| - (void)setCookieForStoreWithIdentifier:(NSNumber *)instanceId |
| cookie:(FWFNSHttpCookieData *)cookie |
| error:(FlutterError *_Nullable *_Nonnull)error; |
| @end |
| |
| extern void FWFWKHttpCookieStoreHostApiSetup(id<FlutterBinaryMessenger> binaryMessenger, |
| NSObject<FWFWKHttpCookieStoreHostApi> *_Nullable api); |
| |
| NS_ASSUME_NONNULL_END |