+

Search Tips | Advanced Search

Skip navigation links

Index Overview

PREV CLASS NEXT CLASS FRAMES (opens in new window)



Class WL.Analytics

WL.Analytics



Method Summary
Method Attributes Method Name and Description
 

disable()

Turns off the capture of analytics data.

 

enable()

Turns on the capture of analytics data.

 

log(message, name)

Logs a message with additional contextual information.

 

restart()

 

send()

Send any analytics data collected up to this point to the IBM Worklight server.

 

state()

Get the current state of

    WL.Analytics.
    							
    						
    					
    					

Method Detail

disable

{Promise} disable()

Turns off the capture of analytics data.


enable

{Promise} enable()

Turns on the capture of analytics data.

The


send

{Promise} send()

Send any analytics data collected up to this point to the IBM Worklight server.

    Returns:
    {Promise} Resolved with success status, rejected with an error message.


state

{Promise} state()

Get the current state of