package com.codename1.push
Typed push notification registration, delivery, and custom transport APIs.
Applications use PushClient and
PushListener. The older
PushCallback contract remains for compatibility
and generated native plumbing; new applications should not implement it on
their main class.
Types
class Push | Utility class for sending a push message to a different device through the Codename One push servers. |
class PushAction | Encapsulates a push notification action. |
class PushActionCategory | Encapsulates a category for push notifications. |
interface PushActionsProvider | This callback interface is invoked when a push notification with a “category” is received by the application. |
class PushBuilder | A convenience class for building a push notification Payload. |
interface PushCallback | This callback interface is invoked when a push notification is received by the application. |
class PushClient | Owns push registration and delivers typed push events to an application. |
class PushContent | Encapsulates the content of a Push message. |
class PushError | Describes a push registration or envelope-processing error. |
interface PushListener | Receives registration, message, and error events from a PushClient. |
class PushMessage | Immutable typed push message used by clients and sending code. |
interface PushRegistrationSink | Mirrors native subscription changes to an application-owned server. |
class PushSubscription | Immutable native registration produced by a push transport. |
interface PushTransport | Low-level native push integration for a CN1Lib or private provider. |