InAppNotificationViewBinder

Binds views for in-app notifications.

This interface is used to bind the InApp Notification View with the respective data and apply the desired styling.

Syntax: interface InAppNotificationViewBinder

Inheritors

Properties

NameSyntaxDescription
callbackabstract var callback: InAppNotificationCallback?This property is used for InAppNotificationCallback
canSwipeToDismissabstract val canSwipeToDismiss: BooleanThis property is used to verify swipe to dismiss is enabled or not
contentViewabstract val contentView: View?This property is used to get the content view from InApp NotificationView Binder
pushMessageabstract val pushMessage: PushMessage?This property is used to get the PushMessage
rootViewabstract val rootView: ViewThis property is used to get the root view from InAppNotificationViewBinder

Functions

NameDescription
bindMessageThis method binds messages to respective InApp Notification View Binder
setViewStyleThis method is used to set InApp Notification view style to InAppNotification View Binder

bindMessage

This method binds messages to respective InApp Notification View Binder

Syntax: abstract fun bindMessage(message: PushMessage)

Parameters:

ParametersTypeDescription
messagePushMessageContent of Push Message

setViewStyle

This method is used to set InApp Notification view style to InAppNotification View Binder

Syntax: abstract fun setViewStyle(viewStyle: InAppNotificationViewStyle?)

Parameters:

ParametersTypeDescription
viewStyleInAppNotificationViewStyleSets the InApp Notification view style