Skip to content

User Interface

The User Interface Scheme defines the configuration options for the presentation style, swipe-to-dismiss policy, and theme settings of the SDK's UI components.

UserInterface {
  presentationStyle: PresentationStyle // (1)!
  swipeToDismiss: SwipeToDismissPolicy // (2)!
  theme: Theme // (3)!
}
  1. Specifies the manner in which the SDK's UI overlays the application's existing UI, such as whether the SDK UI appears as a full-screen overlay, or covers the application with a bottom sheet.

  2. Specifies the policy for dismissing the SDK's user interface through a swipe gesture.

  3. Specifies the theme configuration settings that determine the appearance and style of the UI components within the SDK. This includes defining color schemes, typography, and other visual elements to ensure a cohesive and customizable user interface experience.