Last updated on 
                
                    Apr 27, 2021
                
            
            
                 | 
                
                    Also applies to ColdFusion
                
            
        
        
            
        
    
Getting notification when the device goes online
You can register a callback function to be invoked when the device goes online using the onOnline() function.
Method summary
onOnline(callBackFunction)  | 
   
- returns – None
 - params
- Name of the callback function that gets invoked when the device goes online.
 
 
For instance,
<cfset cfclient.connection.onOnline(ononlinecallback)>  |