This method offers alternative signatures:
currentDevice.getRegistration(success, error)
Signature
currentDevice.getRegistration(success, error)
Description
Returns the push registration for the current device.
Parameters
Parameter Name | Type | Description |
---|---|---|
success |
function | Callback to invoke on success. |
error |
function | Callback to invoke on error. |
currentDevice.getRegistration()
Signature
currentDevice.getRegistration()
Description
Returns the push registration for the current device.
Return Type
Object - The promise for the request.