detect

fun detect(clipboardText: String?, length: Int, allowedChars: OtpAllowedChars = OtpAllowedChars.DigitsOnly): String?

Returns a valid OTP extracted from clipboardText, or null when nothing should be suggested.