PinSignInMethod
@RequiresCarApi(value = 2)
@CarProtocol
class PinSignInMethod : SignInTemplate.SignInMethod
A SignInTemplate.SignInMethod that presents a PIN or activation code that the user can use to sign-in.
Summary
Public constructors |
|---|
PinSignInMethod(pinCode: CharSequence)Returns a |
Public functions |
|
|---|---|
Boolean |
|
CarText |
Returns the PIN or activation code to present to the user. |
Int |
hashCode() |
Public constructors
PinSignInMethod
PinSignInMethod(pinCode: CharSequence)
Returns a PinSignInMethod instance.
The provided pin must be no more than 12 characters long. To facilitate typing this code, it is recommended restricting the string to a limited set (for example, numbers, upper-case letters, hexadecimal, etc.).
Spans are not supported in the pin and will be ignored.
| Parameters | |
|---|---|
pinCode: CharSequence |
the PIN to display is empty. |
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
if |
java.lang.NullPointerException |
if |
Public functions
getPinCode
fun getPinCode(): CarText
Returns the PIN or activation code to present to the user.