displayNotification

open fun displayNotification(context: Context, intent: Intent)

Call this method to display the notification for this intent.

Parameters

context

Android's context

intent

Android's intent


open fun displayNotification(context: Context, intent: Intent, bypassManualMode: Boolean)

Call this method to display the notification for this intent.

Parameters

context

Android's context

intent

Android's intent

bypassManualMode

If true, This method will ignore the manual mode value and always display the notification


Call this method to display the notification for this intent. Allows an interceptor to be set for this call, overriding the global one set using setNotificationInterceptor

Parameters

context

Android's context

intent

Android's intent


open fun displayNotification(@NonNull context: Context, @NonNull intent: Intent, @Nullable interceptor: BatchNotificationInterceptor, bypassManualMode: Boolean)

Call this method to display the notification for this intent. Allows an interceptor to be set for this call, overriding the global one set using setNotificationInterceptor

Parameters

context

Android's context

intent

Android's intent

interceptor

An optional notification interceptor

bypassManualMode

If true, This method will ignore the manual mode value and always display the notification


open fun displayNotification(context: Context, remoteMessage: RemoteMessage)

Call this method to display the notification for this message.


open fun displayNotification(@NonNull context: Context, @NonNull remoteMessage: RemoteMessage, @Nullable interceptor: BatchNotificationInterceptor)

Call this method to display the notification for this message. Allows an interceptor to be set for this call, overriding the global one set using setNotificationInterceptor