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 PushUtility class for sending a push message to a different device through the Codename One push servers.
class PushActionEncapsulates a push notification action.
class PushActionCategoryEncapsulates a category for push notifications.
interface PushActionsProviderThis callback interface is invoked when a push notification with a “category” is received by the application.
class PushBuilderA convenience class for building a push notification Payload.
interface PushCallbackThis callback interface is invoked when a push notification is received by the application.
class PushClientOwns push registration and delivers typed push events to an application.
class PushContentEncapsulates the content of a Push message.
class PushErrorDescribes a push registration or envelope-processing error.
interface PushListenerReceives registration, message, and error events from a PushClient.
class PushMessageImmutable typed push message used by clients and sending code.
interface PushRegistrationSinkMirrors native subscription changes to an application-owned server.
class PushSubscriptionImmutable native registration produced by a push transport.
interface PushTransportLow-level native push integration for a CN1Lib or private provider.