NPNS services: Difference between revisions

Behemoth (talk | contribs)
Behemoth (talk | contribs)
npns:s: Jid
Line 106: Line 106:
| 105 || [3.0.0+] GetPlayReportRequestEvent
| 105 || [3.0.0+] GetPlayReportRequestEvent
|-
|-
| 111 || GetJid
| 111 || [[#GetJid]]
|-
|-
| 112 || CreateJid
| 112 || [[#CreateJid]]
|-
|-
| 113 || DestroyJid
| 113 || [[#DestroyJid]]
|-
|-
| 114 || AttachJid
| 114 || AttachJid
Line 142: Line 142:
=== ListenUndelivered ===
=== ListenUndelivered ===
Same as calling [[#ListenTo]] with program id 0.
Same as calling [[#ListenTo]] with program id 0.
=== GetJid ===
Returns the current Jabber Identifier[https://xmpp.org/extensions/xep-0029.html].
Locally it's stored in "npns_save:/persistent.bin"
=== CreateJid ===
Fetches a new Jid from the CDN. Invalidates the old one if existent.
=== DestroyJid ===
Invalidates and deletes the local Jid.


=== CreateNotificationReceiver ===
=== CreateNotificationReceiver ===