AppTransitionAnimation

Controls the transition animation played when a Stripe app foregrounds itself via SDK request. For example, during a payment collection in Apps on Devices mode. This animation is only applied when the Stripe app comes to the foreground.

Inheritors

Types

Link copied to clipboard
data class Custom(@AnimRes val enterAnim: Int, @AnimRes val exitAnim: Int) : AppTransitionAnimation

Uses custom animation resources from the point-of-sale app.

Link copied to clipboard

Uses a built-in transition preset. The animation resources are bundled in the Terminal SDK and automatically included in the point-of-sale app at build time. No additional configuration is required.

Link copied to clipboard

Uses the Android system default activity open transition. This is the default.