createNotificationBannerView

fun createNotificationBannerView(context: Context, listener: NotificationBannerListener? = null, props: NotificationBannerProps? = null, cacheKey: String? = null): View

Creates a notification banner, which shows the connected account's open tasks, like onboarding requirements and risk interventions, that can affect capabilities such as accepting payments and receiving payouts.

Parameters

context

The Context to use for creating the view.

listener

Optional NotificationBannerListener to use for handling events from the view.

props

Optional NotificationBannerProps to use for configuring the view.

cacheKey

Key to use for caching the internal WebView within an Activity across configuration changes.