PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WiFiStatus (Function)
In french: WiFiEtat
Returns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
Remarks:
    Versions 19 and later
    WEBDEV - Browser code This function is now available in Browser code.
    New in version 19
    WEBDEV - Browser code This function is now available in Browser code.
    WEBDEV - Browser code This function is now available in Browser code.
    Example
    IF WiFiStatus() = wifiDisabled THEN
            WiFiActivate(True)
    END
    Syntax

    Finding out the current activation status of Wi-Fi on the current computer Hide the details

    <Result> = WiFiStatus()
    <Result>: Integer
    Current activation status of Wi-Fi:
    wifiEnabledThe Wi-Fi is enabled on the device.
    wifiActivationInProgressThe Wi-Fi is being enabled on the device.
    WEBDEV - Browser code This constant is not available.
    wifiDisabledThe Wi-Fi is disabled on the device.
    wifiDeactivationInProgressThe Wi-Fi is being disabled on the device.
    WEBDEV - Browser code This constant is not available.
    wifiErrorThe activation status of Wi-Fi cannot be retrieved.
    Remarks
    Related Examples:
    WM_System Cross-platform examples (WINDEV Mobile): WM_System
    [ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
    The following system functions are used:
    - NFC
    - Multimedia control
    - Brightness
    - Volume
    - Wi-Fi
    - Bluetooth
    - Toast
    - Compass
    - Accelerometer
    - Camera control
    - LED
    - Vibration
    - Notifications
    - Drawing functions
    - Internet
    Component: WDJS.DLL
    Minimum version required
    • Version 16
    This page is also available for…
    Comments
    Click [Add] to post a comment