pushwoosh

Core module of the Pushwoosh SDK. Handles push notification registration, user segmentation via tags, in-app messaging, and rich media. Start here — all other modules depend on this one.

Packages

Link copied to clipboard

Main entry point of the SDK. Use Pushwoosh to register the device for push notifications, manage user identity (User ID, email), set tags, and schedule local notifications.

Link copied to clipboard

Typed exceptions thrown by SDK operations. All extend PushwooshException, so you can catch them individually for specific error handling or handle the base class for a catch-all.

Link copied to clipboard

Async callback interfaces used across the SDK. Callback is invoked on the main thread and receives a Result that wraps either a success value or an exception.

Link copied to clipboard

In-app messaging. Use InAppManager to post events that trigger in-app message campaigns configured in the Pushwoosh Control Panel.

Link copied to clipboard

Configuration classes for customizing how in-app messages are presented in the WebView. Use ModalRichmediaConfig to set position, size, animation, and swipe behavior.

Link copied to clipboard

Enums for ModalRichmediaConfig options: presentation and dismiss animation types (ModalRichMediaPresentAnimationType, ModalRichMediaDismissAnimationType), window position, width, and swipe gesture.

Link copied to clipboard

Push notification handling and customization. PushMessage carries all data about a received notification. Extend NotificationServiceExtension to intercept notifications before display, suppress them in foreground, or override launch behavior. Use NotificationFactory to build fully custom notification layouts.

Link copied to clipboard

Rich media pages (HTML pages delivered via push or in-app). Use RichMediaManager to control when and how rich media is shown, or implement RichMediaPresentingDelegate to handle presentation yourself. Customize appearance with RichMediaStyle.

Link copied to clipboard

Animation presets for rich media presentation. Apply RichMediaAnimation subclasses (slide, cross-fade) to RichMediaStyle to control enter and exit transitions.

Link copied to clipboard

User attribute management for audience segmentation. Use Tags factory methods to create single-tag instances quickly, or build a multi-attribute TagsBundle with TagsBundle.Builder and send it via Pushwoosh.getInstance().sendTags().