Package-level declarations

Types

Link copied to clipboard

Detects OTP codes from clipboard text without polling.

Link copied to clipboard
sealed class OtpAllowedChars

Allowed character set when extracting or validating OTP codes from SMS or clipboard text.

Link copied to clipboard
sealed class OtpDetectionMode

Controls how detected OTP codes from SMS or clipboard are presented to the user.

Link copied to clipboard
sealed class OtpDetectionSource

Origin of a detected OTP code.

Link copied to clipboard

Extracts OTP-like codes from free-form text such as SMS bodies or clipboard content.

Functions

Link copied to clipboard
fun DefaultOtpSuggestion(code: String, source: OtpDetectionSource, onApply: () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)

Default Material 3 suggestion surface shown when com.pinflow.compose.OtpInput detects an OTP.