BatchNotificationInterceptor

Abstract class describing a notification interceptor.

An interceptor's job is to override some aspects of a notification that Batch wants to display. See the various methods to see what you can override.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getPushNotificationCompatBuilder(@NonNull context: Context, @NonNull defaultBuilder: NotificationCompat.Builder, @NonNull pushIntentExtras: Bundle, notificationId: Int): NotificationCompat.Builder
Get the builder instance used to generate the notification.
Link copied to clipboard
open fun getPushNotificationId(@NonNull context: Context, defaultId: Int, @NonNull pushIntentExtras: Bundle): Int
Notification Id to use when posting the notification to the system.