cfclient.connection.onOffline

Getting notification when the device goes offline

You can register a callback function to be invoked when the device goes offline using the onOffline() function.

Method summary

 

onOffline(callBackFunction)

  • returns – None
  • params
    • Name of the callback function that gets invoked when the device goes offline.

For instance,

<cfset cfclient.connection.onOffline(onofflinecallback)>

<cffunction name="'onofflinecallback'" >
<!--- Code to be executed when device goes offline -à
</cffunction>

 Adobe

Get help faster and easier

New user?