InAppFormsConfig

data class InAppFormsConfig(sessionTimeoutDuration: Duration = DEFAULT_SESSION_TIMEOUT)

Configuration for In-App Forms

Parameters

sessionTimeoutDuration

Duration of user inactivity after which the form session is terminated. Defaults to 1 Hour, must be non-negative. Use 0 to timeout as soon as the app is backgrounded. To disable session timeout altogether, use Duration.INFINITE

Constructors

Link copied to clipboard
constructor(sessionTimeoutDuration: Duration = DEFAULT_SESSION_TIMEOUT)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Returns the session timeout duration in seconds. If the value is negative, it will return 0 and log an error.