Check out example codes for "xamarin c# switch on hotspot Programmatically". It will help you in understanding the concepts better.

Code Example 1

WifiManager wifiManager = (WifiManager)this.context.getSystemService(Context.WIFI_SERVICE);
wifiManager.setWifiEnabled(status);

Learn ReactJs, React Native from akashmittal.com