BookmarksScreenPromotionPlugin

Used for displaying promotions in the bookmarks screen. The bookmarks activity supports an area in the screen that can be used for different purposes, such as promotions or surveys.

Types

Link copied to clipboard
interface Callback

Callback for interactions with the promotion.

Functions

Link copied to clipboard
abstract suspend fun getView(context: Context, numberSavedBookmarks: Int): View?

Returns a view to be displayed in the bookmarks screen, or null if the promotion should not be shown.