Package com.codename1.backend.push


package com.codename1.backend.push

Sending push notifications from a server through the Codename One push service.

PushNotification builds the message, in the same envelope the app's PushClient receives, including the commands that update a widget or a Live Activity. PushTarget names a device by provider and token, and reads the device keys the app registers. CloudPush sends the message with the application's server API key and answers a PushResult.

Server code: this package is not available in the app.

  • Classes
    Class
    Description
    Sends push notifications through the Codename One push service.
    A push message in the schema-3 envelope the Codename One push service delivers and the app's PushClient receives.
    What the push service answered to one CloudPush send.
    One device to deliver a push to: the provider that owns the device and the token that provider issued for it.