I want to check if mobile have any internet connection,( to send data to server)
are you using AppStudio? If so, you can get that through Network QML Type | ArcGIS
Otherwise, if you are just using the ArcGIS Runtime SDK for Qt with no AppStudio, use System QML Type | ArcGIS for Developers