PinSignInMethod


@RequiresCarApi(value = 2)
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

Returns a PinSignInMethod instance.

Public functions

Boolean
equals(other: Any!)
CarText

Returns the PIN or activation code to present to the user.

Int

Public constructors

PinSignInMethod

Added in 1.1.0
PinSignInMethod(pinCode: CharSequence)

Returns a PinSignInMethod instance.

Requirements

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 pin is empty or longer than 12 characters.

java.lang.NullPointerException

if pin is null

Public functions

equals

fun equals(other: Any!): Boolean

getPinCode

Added in 1.1.0
fun getPinCode(): CarText

Returns the PIN or activation code to present to the user.

hashCode

fun hashCode(): Int