commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADDisplayAdMeasurement.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2019 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
#import <UIKit/UIKit.h> |
|
10 |
|
|
11 |
/// Measurement used for display custom native ad formats. |
|
12 |
@interface GADDisplayAdMeasurement : NSObject |
|
13 |
|
|
14 |
/// Ad view used to measure viewability. This property can be modified before or after starting |
|
15 |
/// display ad measurement. Must be accessed on the main thread. |
|
16 |
@property(nonatomic, weak, nullable) UIView *view; |
|
17 |
|
|
18 |
/// Starts OMID viewability measurement for display ads. Returns whether OMID viewability was |
|
19 |
/// started and sets |error| if unable to start. Once started, all subsequent calls return YES and |
|
20 |
/// have no effect. Must be called on the main thread. |
|
21 |
- (BOOL)startWithError:(NSError *_Nullable *_Nullable)error; |
|
22 |
|
|
23 |
@end |