Components
keyboard_arrow_up
Add
Connection Manager
-
Description
Connection Manager
The Connections manager will allow us to check several things, for example, if we have an internet connection, what type of connection we have (data or wifi) or check if our connection to the internet is fast.
-
Procedures
- IsConnected
- This method allows us to check if we have some type of internet connection, either via Wi-Fi or mobile data. The method will return a boolean with true value in case we have internet, and False otherwise.
- Is Connected Fast
- This method allows the user to check if the internet connection is fast. The method will return a boolean with True value in case of a fast connection, and False otherwise.
- Is Connected Wifi
- This method allows us to check if the internet connection is wifi or not. The method will return a boolean with true value in case of our connection is wifi, and False in case of not having internet or that the connection is mobile data.
- Is Connected Mobile
- This method allows us to check whether the internet connection is mobile or not. The method will return a boolean with true value in case of our connection is mobile data, and False in case of not having internet or that the connection is wifi.
-
Example
- Here we leave you an example AIA so you can understand and see how the Connection Manager works.
- NetworkManager.aia
- Remember, if you have any questions you can go through the forum and ask all whatever you need Community Block2Code.