• realm – ???
• options – ???
WL.Client.logout(realm, options)
A function which when called will logout the user.
• realm – ???
• options – ???
WL.Client.minimize()
Minimize a widget when Adobe AIR is used as the deployment target.
WL.Client.reloadApp()
Reload the whole application.
WL.Client.removeGlobalHeader(headerName)
Remove an HTTP header definition sent to the Worklight server by this client application. The
header would previously have been added by a call to WL.Client.addGlobalHeader().
• headerName – The name of the header property to remove.
See also:
• WL.Client.addGlobalHeader(headerName, headerValue)
WL.Client.setHeartBeatInterval(interval)
Set the interval to be used to check connectivity between the client and the Worklight server. The
value is supplied as the number of seconds.
See also:
• WL.Client.init(options)
WL.Client.setUserPref(key, value, options)
Set or change a named property for a user to a specific value. There are a maximum of 100
properties that can be set per user.
• key – The name of the property
• value – The value of the property
• options – ???
See also:
• WL.Client.getUserPref(key)
• WL.Client.hasUserPref(key)
• WL.Client.setUserPrefs(prefs, options)
Page 108
Kommentare zu diesen Handbüchern