The version that you requested is unavailable. We've redirected you to the latest version of the help.
Version

Connection.isConnected

This method is used to determine if there is an internet connection available or not, depends entirely on the device.

Syntax

SPlus.Connection.isConnected (function (connected){
        //TODO: Implement what to do when there is an available connection or not
});

onSuccess callback function

Parameter

Description

function (connected)

Success callback function to be implemented, which receives a Boolean value (True or False) depending on the connection availability.

Sample

For a sample with this API method, refer to the Integrating SharePlus APIs to your Mobile Workspace procedure.