currentDevice.register

This method offers alternative signatures:

currentDevice.register(customParameters, [success], [error])

Signature

currentDevice.register(customParameters, [success], [error])

Description

Registers the current device for push notifications in Telerik Backend Services. This method can be called only after enableNotifications() has completed successfully.

Parameters

Parameter Name Type Description
customParameters Object Custom parameters for the registration.
[success] function Callback to invoke on success.
[error] function Callback to invoke on error.


currentDevice.register(customParameters)

Signature

currentDevice.register(customParameters)

Description

Registers the current device for push notifications in Telerik Backend Services. This method can be called only after enableNotifications() has completed successfully.

Return Type

Object - The promise for the request.

Parameters

Parameter Name Type Description
customParameters Object Custom parameters for the registration.
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.