lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
e0ec42 1 /*
L 2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8
9 #import <FBSDKCoreKit/FBSDKCoreKit.h>
10 #import <Foundation/Foundation.h>
11
12 @protocol FBSDKDataPersisting;
13 @protocol FBSDKGraphRequestFactory;
14 @protocol FBSDKSettings;
15
16 NS_ASSUME_NONNULL_BEGIN
17
18 /**
19  Internal type exposed to facilitate transition to Swift.
20  API Subject to change or removal without warning. Do not use.
21
22  @warning INTERNAL - DO NOT USE
23  */
24 NS_SWIFT_NAME(_ATEPublisherFactory)
25 @interface FBSDKATEPublisherFactory : NSObject <FBSDKATEPublisherCreating>
26
27 @property (nonatomic) id<FBSDKDataPersisting> dataStore;
28 @property (nonatomic) id<FBSDKGraphRequestFactory> graphRequestFactory;
29 @property (nonatomic) id<FBSDKSettings> settings;
30 @property (nonatomic) id<FBSDKDeviceInformationProviding> deviceInformationProvider;
31
32 + (instancetype)new NS_UNAVAILABLE;
33 - (instancetype)init NS_UNAVAILABLE;
34
35 - (instancetype)initWithDataStore:(id<FBSDKDataPersisting>)dataStore
36               graphRequestFactory:(id<FBSDKGraphRequestFactory>)graphRequestFactory
37                          settings:(id<FBSDKSettings>)settings
38         deviceInformationProvider:(id<FBSDKDeviceInformationProviding>)deviceInformationProvider;
39
40 @end
41
42 NS_ASSUME_NONNULL_END