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

30 lines
767 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>
2017-06-16 16:40:05 +00:00
@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-08-11 15:07:32 +00:00
@interface NativeExpressComponent : NSObject
2017-06-16 16:40:05 +00:00
@end
#endif