SignInTemplate
@RequiresCarApi(value = 2)
@CarProtocol
class SignInTemplate : Template
A template that can be used to create a sign-in flow.
Template Restrictions This template's body is only available to the user while the car is parked and does not count against the template quota.| See also | |
|---|---|
onGetTemplate |
Summary
Nested types |
|---|
@RequiresCarApi(value = 2)A builder of |
interface SignInTemplate.SignInMethodOne of the possible sign in methods that can be set on a |
Public functions |
|
|---|---|
Boolean |
|
ActionStrip? |
Returns the |
(Mutable)List<Action!> |
Returns the list of |
CarText? |
Returns any additional text that needs to be displayed in the template or |
Action? |
Returns the |
CarText? |
Returns a text containing instructions on how to sign in or |
SignInTemplate.SignInMethod |
Returns the sign-in method of this template. |
CarText? |
getTitle()Returns the title of the template or |
Int |
hashCode() |
Boolean |
Returns whether the template is loading. |
String |
toString() |
Public functions
getActionStrip
fun getActionStrip(): ActionStrip?
Returns the ActionStrip for this template or null if not set.
| See also | |
|---|---|
setActionStrip |
getActions
fun getActions(): (Mutable)List<Action!>
Returns the list of Actions displayed alongside the SignInMethod in this template.
| See also | |
|---|---|
addAction |
getAdditionalText
fun getAdditionalText(): CarText?
Returns any additional text that needs to be displayed in the template or null if not set.
| See also | |
|---|---|
setAdditionalText |
getHeaderAction
fun getHeaderAction(): Action?
Returns the Action that is set to be displayed in the header of the template or null if not set.
| See also | |
|---|---|
setHeaderAction |
getInstructions
fun getInstructions(): CarText?
Returns a text containing instructions on how to sign in or null if not set.
| See also | |
|---|---|
setInstructions |
getSignInMethod
fun getSignInMethod(): SignInTemplate.SignInMethod
Returns the sign-in method of this template.
| See also | |
|---|---|
Builder |
getTitle
fun getTitle(): CarText?
Returns the title of the template or null if not set.
| See also | |
|---|---|
setTitle |
isLoading
fun isLoading(): Boolean
Returns whether the template is loading.
| See also | |
|---|---|
setLoading |