// BluestackRewardedAdManager.m

#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

@interface RCT_EXTERN_MODULE(BluestackRewardedAdManager, RCTEventEmitter)

RCT_EXTERN_METHOD(loadAd:(NSString *)placementId autoDisplay:(BOOL)autoDisplay withPreference:(NSString *)preferenceJSON)
RCT_EXTERN_METHOD(displayAd)

RCT_EXTERN_METHOD(startObserving)
RCT_EXTERN_METHOD(stopObserving)

+ (BOOL)requiresMainQueueSetup {
  return YES;
}

@end
