forked from fyber-engineering/mopub-ios-mediation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTapjoyAdapterConfiguration.h
36 lines (30 loc) · 1.16 KB
/
TapjoyAdapterConfiguration.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import <Foundation/Foundation.h>
#if __has_include(<MoPub/MoPub.h>)
#import <MoPub/MoPub.h>
#elif __has_include(<MoPubSDK/MoPub.h>)
#import <MoPubSDK/MoPub.h>
#else
#import "MPBaseAdapterConfiguration.h"
#endif
NS_ASSUME_NONNULL_BEGIN
/**
Provides adapter information back to the SDK and is the main access point
for all adapter-level configuration.
*/
@interface TapjoyAdapterConfiguration : MPBaseAdapterConfiguration
// Caching
/**
Extracts the parameters used for network SDK initialization and if all required
parameters are present, updates the cache.
@param parameters Ad response parameters
*/
+ (void)updateInitializationParameters:(NSDictionary *)parameters;
// MPAdapterConfiguration
@property (nonatomic, copy, readonly) NSString * adapterVersion;
@property (nonatomic, copy, readonly) NSString * biddingToken;
@property (nonatomic, copy, readonly) NSString * moPubNetworkName;
@property (nonatomic, copy, readonly) NSString * networkSdkVersion;
- (void)initializeNetworkWithConfiguration:(NSDictionary<NSString *, id> * _Nullable)configuration
complete:(void(^ _Nullable)(NSError * _Nullable))complete;
@end
NS_ASSUME_NONNULL_END