webMethods Mobile Suite  | webMethods Mobile SuiteWeb Help | Using webMethods Mobile Designer | Creating Mobile Application Projects | Coding a Mobile Application | Connectivity Status API | Querying the Current Connection State
 
Querying the Current Connection State
If an application needs to know the connection state infrequently, it can be useful to poll for it directly. The method getConnectivityStatus() returns true if any interface is connected. If a specific interface is required, you can use isWiFiConnected(), isCellularConnected(), or getCurrentConnectivityTypes().

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.