Success

data class Success(val verificationId: String, val destination: String, val resendAvailableAtMillis: Long? = null) : VerificationRequestResult(source)

A code was dispatched.

Constructors

Link copied to clipboard
constructor(verificationId: String, destination: String, resendAvailableAtMillis: Long? = null)

Properties

Link copied to clipboard

Where the code went, for display (e.g. "+254 712 345 678"). Prefer a masked form if your product masks numbers.

Link copied to clipboard

Unix-epoch milliseconds instant at which a resend becomes allowed, or null for no cooldown. Epoch millis rather than java.time.Instant so the library stays usable at minSdk 24 without core-library desugaring.

Link copied to clipboard

Opaque handle for this challenge, passed back to verifyCode.