WL.JSONStore.replace(doc, options)
Replace documents within a collection with different versions.
• doc – A single document or an array of documents
• options
◦ psuh – A flag that controls whether or not the replacement should be pushed through to
the back-end through the adapter.
The replace() method returns a Promise.
WL.JSONMStore.toString()
Logs the documents in the collection to the debugger log by invoking WL.Logger.debug.
WL.Device
WL.Device.getNetworkInfo(callback)
Retrieves network information for iOS or Android devices. The single parameter is a callback
function that is passed an object that describes the properties. This function is only available for
Android and iOS devices.
The properties include:
• isNetworkConnected – Is the device connected to a network (true).
• isAirplaneMode
• isRoaming
• networkConnectionType – The type of network connection, namely how the device is
connected to the network. The choices are:
◦ mobile – The device is connected via a wireless telephony link.
◦ WIFI – The device is connected via WIFI.
• wifiName
• telphonyNetworkType
• carrierName
• ipAddress
Other
WL.App.openURL
WL.App.getDeviceLanguage
WL.App.getDeviceLocale
WL.BusyIndicator
WL.TabBar
WL.SimpleDialog
WL.OptionsMenu
Page 115
Comentários a estes Manuais