Connection

Obtains the network state and connection type.

eon_mobile_connectionex object

Functions
of_getconnectioninfo

Description

Gets the device's network connection information.

Supported on mobile client only.

Syntax

connection.of_getconnectioninfo ( )

Argument Type

Argument

Description

eon_mobile_connectionex

connection

The name of the eon_mobile_connectionex object.

Return value

Integer.

0 - No connection.

1 - Cell network: 2G/3G/4G.

2 - Wi-Fi network.

-1 - It is called in PowerBuilder or Appeon Web, or there is an error.