Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

push.setBadgeNumber

push.setBadgeNumber

This method offers alternative signatures:

push.setBadgeNumber(badge, [onSuccess], [onError])

Signature

push.setBadgeNumber(badge, [onSuccess], [onError])

Description

Sets the badge number on the server

Parameters

Parameter Name Type Description
badge Number / String The number to be set as a badge.
[onSuccess] function Callback to invoke on success.
[onError] function Callback to invoke on error.


push.setBadgeNumber(badge)

Signature

push.setBadgeNumber(badge)

Description

Sets the badge number on the Telerik Backend Services server.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
badge Number / String The number to be set as a badge.


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.