toggle menu
stripe-android
androidJvm
switch theme
search in API
stripe-ui-core
/
com.stripe.android.uicore.elements
/
OTPElement
OTPElement
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
data
class
OTPElement
(
val
identifier
:
IdentifierSpec
,
val
controller
:
OTPController
)
:
FormElement
Members
Constructors
OTPElement
Link copied to clipboard
constructor
(
identifier
:
IdentifierSpec
,
controller
:
OTPController
)
Properties
controller
Link copied to clipboard
open
override
val
controller
:
OTPController
identifier
Link copied to clipboard
open
override
val
identifier
:
IdentifierSpec
otp
Complete
Flow
Link copied to clipboard
val
otpCompleteFlow
:
Flow
<
String
>
A
Flow
that emits the OTP value entered by the user.
Functions
get
Form
Field
Value
Flow
Link copied to clipboard
open
override
fun
getFormFieldValueFlow
(
)
:
StateFlow
<
List
<
Pair
<
IdentifierSpec
,
FormFieldEntry
>
>
>
get
Text
Field
Identifiers
Link copied to clipboard
open
fun
getTextFieldIdentifiers
(
)
:
StateFlow
<
List
<
IdentifierSpec
>
>