Package-level declarations
Types
Separates logic between the core Marigold SDK functionality and that of the Sailthru only apps
Activity to display the detail content of a Message.
Class to handle interactions with in-app message stream.
Wrapper with helpers to load data from the bundle received with a notification sent using Marigold Platform
Defines Notification Categories that can be passed to the SDK to show actions on push notifications.
Configuration class for building Notifications. These setting will apply to all notifications generated by Marigold.
Styles a standard Marigold Notification, optionally with a given Message.
Properties
Message Read Flow - subscribe to this to handle events when messages are read on the device.
Notification Action Tapped Flow - subscribe to this to handle events when notification actions are tapped by the user.
Notification Received Flow - subscribe to this to handle events when notifications are received on the device.
Notification Tapped Flow - subscribe to this to handle events when notifications are tapped by the user.
Unread Message Count Flow - subscribe to this to handle events when the message unread count is updated on the device.
Functions
Clear device events data.
Clear device events data.
Clear the Message Stream for the device.
Clear the Message Stream for the device.
Removes a Message from appearing in a device's message stream.
Removes a Message from appearing in a device's message stream.
Gets this device's ID on the Marigold Platform. Marigold
Gets this device's ID on the Marigold Platform.
Retrieves a Message for a given Message ID.
Retrieves a Message for a given Message ID.
Retrieve all Messages visible for this device.
Retrieve all Messages visible for this device.
Retrieve the profile vars set on the server.
Retrieve the profile vars set on the server.
Get the total number of unread messages in the message stream.
Get the total number of unread messages in the message stream.
If you're using Marigold email with universal links, your application will open with an encoded Marigold link url. This method will decode the link URL and return its canonical location (ie https://link.sailthru.com/blahblah will redirect to https://www.sailthru.com/careers/list/, the link's canonical location), as well as making sure that the clickthrough metrics for this link are correctly attributed in the Marigold platform. This method should be called from your receiving activity's onStart()
method, and handle the starting intent's link data
If you're using Marigold email with universal links, your application will open with an encoded Marigold link url. This method will decode the link URL and return its canonical location (ie https://link.sailthru.com/blahblah will redirect to https://www.sailthru.com/careers/list/, the link's canonical location), as well as making sure that the clickthrough metrics for this link are correctly attributed in the Marigold platform. This method should be called from your receiving activity's onStart()
method, and handle the starting intent's link data
Logs a cart abandonment with the Marigold platform. Use this to initiate cart abandoned flows.
Logs a cart abandonment with the Marigold platform. Use this to initiate cart abandoned flows.
Logs a purchase with the Marigold platform. This can be used for mobile purchase attribution.
Logs a purchase with the Marigold platform. This can be used for mobile purchase attribution.
Enabled location tracking based on IP Address. Tracking location tracking is enabled by default. Use this method for users who may not want to have their location tracked at all.
Enabled location tracking based on IP Address. Tracking location tracking is enabled by default. Use this method for users who may not want to have their location tracked at all.
Convenience method for setMessagesRead.
Convenience method for setMessagesRead.
Marks all given messages as read and triggers an update broadcast to the unread messages count.
Marks all given messages as read and triggers an update broadcast to the unread messages count.
Set the profile vars through the SDK.
Set the profile vars through the SDK.
Set the User's Email.
Set the User's Email.
Set an arbitrary external User ID.
Set an arbitrary external User ID.
Asynchronously registers with Marigold SPM that a section has been clicked/tapped on, transitioning the user to a detail view
Asynchronously registers with Marigold SPM that a section has been clicked/tapped on, transitioning the user to a detail view
Asynchronously registers an impression - a reasonable expectation that a user has seen a piece of content - with Marigold SPM. Can be used in conjunction with RecyclerView.Adapter#onViewAttachedToWindow
or similar to know when a particular content item has entered the user's viewport.
Asynchronously registers an impression - a reasonable expectation that a user has seen a piece of content - with Marigold SPM. Can be used in conjunction with RecyclerView.Adapter#onViewAttachedToWindow
or similar to know when a particular content item has entered the user's viewport.
Asynchronously registers that the given "page" has been viewed with Marigold SPM. Note that a Content View here directly corresponds to a page view in SPM.
Asynchronously registers that the given "page" has been viewed with Marigold SPM. Note that a Content View here directly corresponds to a page view in SPM.