react-native-firebase/ios/RNFirebase/admob/NativeExpressComponent.h

31 lines
771 B
C
Raw Normal View History

2017-06-16 16:40:05 +00:00
#import <React/RCTComponent.h>
#import <React/RCTBridgeModule.h>
#if __has_include(<GoogleMobileAds/GADMobileAds.h>)
#import "GoogleMobileAds/GADNativeExpressAdView.h"
#import "GoogleMobileAds/GADVideoControllerDelegate.h"
@interface NativeExpressComponent : UIView <GADNativeExpressAdViewDelegate, GADVideoControllerDelegate>
@property GADNativeExpressAdView *banner;
@property (nonatomic, assign) BOOL requested;
@property (nonatomic, copy) NSString *size;
@property (nonatomic, copy) NSString *unitId;
@property (nonatomic, copy) NSDictionary *request;
@property (nonatomic, copy) NSDictionary *video;
@property (nonatomic, copy) RCTBubblingEventBlock onBannerEvent;
- (void)requestAd;
@end
#else
2017-06-20 12:22:09 +00:00
@interface NativeExpressComponent : NSObject {
2017-06-16 16:40:05 +00:00
}
@end
#endif