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
Name | Syntax | Description |
---|---|---|
callback | abstract var callback: InAppNotificationCallback? | This property is used for InAppNotificationCallback |
canSwipeToDismiss | abstract val canSwipeToDismiss: Boolean | This property is used to verify swipe to dismiss is enabled or not |
contentView | abstract val contentView: View? | This property is used to get the content view from InApp NotificationView Binder |
pushMessage | abstract val pushMessage: PushMessage? | This property is used to get the PushMessage |
rootView | abstract val rootView: View | This property is used to get the root view from InAppNotificationViewBinder |
Functions
Name | Description |
---|---|
bindMessage | This method binds messages to respective InApp Notification View Binder |
setViewStyle | This 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:
Parameters | Type | Description |
---|---|---|
message | PushMessage | Content 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:
Parameters | Type | Description |
---|---|---|
viewStyle | InAppNotificationViewStyle | Sets the InApp Notification view style |
Updated about 1 month ago