Difference between revisions of "NotificationManager:unregisterForPushNotifications"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === Unregister device from receiving push notifications. Basically this method invalidates the deviceToken...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services.
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/NotificationManager|NotificationManager]]<br/>
<source lang="lua">
+
=== <translate>Description</translate> ===
= NotificationManager:unregisterForPushNotifications()
+
<translate>Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services.</translate>
</source>
+
<syntaxhighlight lang="lua">
 +
NotificationManager:unregisterForPushNotifications()
 +
</syntaxhighlight>

Latest revision as of 14:32, 13 July 2023


Available since: Gideros 2011.6
Class: NotificationManager

Description

Unregister device from receiving push notifications. Basically this method invalidates the deviceToken. You still need to remove the token from your server by yourself, or else using invalidated tokens may lead to errors in some push notification services.

 NotificationManager:unregisterForPushNotifications()