Messaging
class Messaging
Batch Messaging module
Types
Link copied to clipboard
Link copied to clipboard
interface DisplayHintProvider
Link copied to clipboard
interface InAppInterceptor
Interface to intercept In-App Messages before they are displayed.
Link copied to clipboard
interface LifecycleListener
Listener interface for messaging views lifecycle events.
Functions
Link copied to clipboard
Check if Batch currently has a pending message, without forgetting it.
Link copied to clipboard
Check if Batch Messaging is currently in Do Not Disturb mode
Link copied to clipboard
open fun loadMessagingView(@NonNull context: Context, @NonNull message: BatchMessage): BatchMessagingView
Load the BatchMessagingView corresponding to the message payload.
Link copied to clipboard
Gets the currently enqueued message.
Link copied to clipboard
Toggle this module's automatic mode.
Link copied to clipboard
Toggles whether Batch.Messaging should enter its "do not disturb" (DnD) mode, or exit it.
Link copied to clipboard
Set an In-App interceptor.
Link copied to clipboard
Set a lifecycle listener.
Link copied to clipboard
Toggle whether mobile landings should be shown directly rather than displaying a notification when the app is in foreground.
Link copied to clipboard
Link copied to clipboard
Asynchronously show the BatchMessage.