#import <Foundation/Foundation.h>
#import <Capacitor/Capacitor.h>

// Define the plugin using the CAP_PLUGIN Macro, and
// each method the plugin supports using the CAP_PLUGIN_METHOD macro.
CAP_PLUGIN(Wifi, "Wifi",
        CAP_PLUGIN_METHOD(scan, CAPPluginReturnPromise);
        CAP_PLUGIN_METHOD(connect, CAPPluginReturnPromise);
        CAP_PLUGIN_METHOD(connectPrefix, CAPPluginReturnPromise);
        CAP_PLUGIN_METHOD(getWifiIP, CAPPluginReturnPromise);
        CAP_PLUGIN_METHOD(getConnectedSSID, CAPPluginReturnPromise);

)
