Show TOC

callback( [devtok] ) typeLocate this document in the navigation structure

This method updates the application with the new device token in the SAP Mobile Platform server.

Syntax

<static> callback( [devtok] )

Parameters
Name Type Argument Description
<devtok> string (optional) The device token received from the APNS/GCM device registration.
Example
function callback(mesg) {}
devToken ="123123213213";//sample device token
sap.Push.updateWithDeviceToken(devToken, callback);