commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADCustomEventExtras.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2012 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
#import <GoogleMobileAds/GADAdNetworkExtras.h> |
|
10 |
|
|
11 |
/// Create an instance of this class to set additional parameters for each custom event object. The |
|
12 |
/// additional parameters for a custom event are keyed by the custom event label. These extras are |
|
13 |
/// passed to your implementation of GADCustomEventBanner or GADCustomEventInterstitial. |
|
14 |
@interface GADCustomEventExtras : NSObject <GADAdNetworkExtras> |
|
15 |
|
|
16 |
/// Set additional parameters for the custom event with label |label|. To remove additional |
|
17 |
/// parameters associated with |label|, pass in nil for |extras|. |
|
18 |
- (void)setExtras:(nullable NSDictionary *)extras forLabel:(nonnull NSString *)label; |
|
19 |
|
|
20 |
/// Retrieve the extras for |label|. |
|
21 |
- (nullable NSDictionary *)extrasForLabel:(nonnull NSString *)label; |
|
22 |
|
|
23 |
/// Removes all the extras set on this instance. |
|
24 |
- (void)removeAllExtras; |
|
25 |
|
|
26 |
/// Returns all the extras set on this instance. |
|
27 |
- (nonnull NSDictionary *)allExtras; |
|
28 |
|
|
29 |
@end |