Press on the image to return to the main documentation page.
Jhwifi
Written by Joerg Hillebrand
List of types:
JhWifi
JhWifi
Permissions:
android.permission.CHANGE_WIFI_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.UPDATE_DEVICE_STATS
android.permission.MODIFY_PHONE_STATE
android.permission.WRITE_SETTINGS
Events:
None
Members:
Enabled
As
Boolean
enableNetwork
(
netid
As
Int
,
disable
As
Boolean
)
As
Boolean
findConfiguredNetwork
(
SSID
As
String
)
As
Int
Initialize
startscan
As
Boolean
StrongestKnownNetwork
As
Int
[read
only]
Wifi_Sleep_Policy
As
Int
WIFI_SLEEP_POLICY_DEFAULT
As
Int
WIFI_SLEEP_POLICY_NEVER
As
Int
WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
As
Int
Wifi_Static_DNS1
As
String
Wifi_Static_DNS2
As
String
Wifi_Static_Gateway
As
String
Wifi_Static_IP
As
String
Wifi_Static_Netmask
As
String
Wifi_Use_Static_IP
As
Int
Members description:
Enabled
As
Boolean
Gets true or false whether wifi is enabled.
enableNetwork
(
netid
As
Int
,
disable
As
Boolean
)
As
Boolean
Enable Network. Disable others, if disable equals true. Returns true if ok and false if not ok.
findConfiguredNetwork
(
SSID
As
String
)
As
Int
Find NetworkId belonging to BSSID or SSID
Initialize
Initialize the wifi object.
startscan
As
Boolean
Starts a wifi scan. Returns true if ok and false if not ok.
StrongestKnownNetwork
As
Int
[read
only]
Find strongest known Network and return NetworkId.
Wifi_Sleep_Policy
As
Int
Get Wifi Sleep Policy
WIFI_SLEEP_POLICY_DEFAULT
As
Int
WIFI_SLEEP_POLICY_NEVER
As
Int
WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
As
Int
Wifi_Static_DNS1
As
String
Get Wifi Static DNS1
Wifi_Static_DNS2
As
String
Get Wifi Static DNS2
Wifi_Static_Gateway
As
String
Get Wifi Static Gateway
Wifi_Static_IP
As
String
Get Wifi Static IP
Wifi_Static_Netmask
As
String
Get Wifi Static Netmask
Wifi_Use_Static_IP
As
Int
Get Wifi Use Static IP
Top