Checks to see if the device has an internet connection or not.



Returns: Boolean


With this function you can check and see if your device currently has an internet connection and it will return true if it does, or false if it does not.

NOTE: This function checks the internal device API that controls connections and so may return true if there is a bluetooth connection, a Wi-Fi connection, or even just a normal network connection that permits internet access.


if os_is_network_connected()

The above code checks to see if the device has a connection to the internet and if so initialises the GameMaker: Studio Facebook API.

Back: Operating Systems
Next: os_get_config
© Copyright YoYo Games Ltd. 2018 All Rights Reserved