connectivity

Returns the type of network available for the mobile device.

Syntax

ui.Interface.frontCall("mobile", "connectivity",
   [], [result] )

Usage

The "connectivity" front call checks for the best available mobile network connectivity to the internet.

The returned result string can take one of the following values:

Example

DEFINE network STRING
CALL ui.Interface.frontCall("mobile", "connectivity", [], [network] )
IF network == "WIFI" THEN
   ...
END IF