#import <React/RCTBridgeModule.h>

@interface RCT_EXTERN_MODULE(ToneFrameworkModule, NSObject)

RCT_EXTERN_METHOD(multiply:(float)a withB:(float)b
withResolver:(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(initFramework:(NSString)apiKey)
RCT_EXTERN_METHOD(setClientID:(NSString)clientID)
RCT_EXTERN_METHOD(start)
RCT_EXTERN_METHOD(stop)
RCT_EXTERN_METHOD(onToneDetected:(NSString)result)
RCT_EXTERN_METHOD(enableOfflineMode)
RCT_EXTERN_METHOD(disableOfflineMode)
RCT_EXTERN_METHOD(enableWifiDetection)
RCT_EXTERN_METHOD(disableWifiDetection)
RCT_EXTERN_METHOD(enableBluetoothDetection)
RCT_EXTERN_METHOD(disableBluetoothDetection)
RCT_EXTERN_METHOD(enableCarrierDetection)
RCT_EXTERN_METHOD(disableCarrierDetection)
RCT_EXTERN_METHOD(deleteOfflineData)
RCT_EXTERN_METHOD(clean)
RCT_EXTERN_METHOD(setEnableToneTagSheet:(BOOL)isEnable)

+ (BOOL)requiresMainQueueSetup
{
return NO;
}

@end
