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

31 lines
771 B
Objective-C

#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
@interface NativeExpressComponent : NSObject {
}
@end
#endif