How to use WiFi management API
Hi
My application on FF OS needs to configure SSA settings. For this I need to invoke WiFi management API provided by Mozilla. When I try to execute in my code I am getting error "Undefined Error ". Please refer the attached screenshot. Maybe i am not calling it correctly. Kindly help me out.
Regards Rashmi
All Replies (1)
That is for internal applications only: https://developer.mozilla.org/en-US/d.../mozWifiManager
What this means: you need to include a permissions request in your manifest. " For prompt permissions, the user is prompted the first time the user accesses the related API, and has to make a choice prior to the API being granted."
However since this is internal only, this call is not available to developers. I do not know when this will become available.
If this does not sound right, as I am getting my information from the MDN please ask in stackoverflow.com. Other Firefox OS developers and engineers also answer questions there.