SignInTemplate

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

A builder of SignInTemplate.

One of the possible sign in methods that can be set on a SignInTemplate.

Public functions

Boolean
equals(other: Any!)
ActionStrip?

Returns the ActionStrip for this template or null if not set.

(Mutable)List<Action!>

Returns the list of Actions displayed alongside the SignInMethod in this template.

CarText?

Returns any additional text that needs to be displayed in the template or null if not set.

Action?

Returns the Action that is set to be displayed in the header of the template or null if not set.

CarText?

Returns a text containing instructions on how to sign in or null if not set.

SignInTemplate.SignInMethod

Returns the sign-in method of this template.

CarText?

Returns the title of the template or null if not set.

Int
Boolean

Returns whether the template is loading.

String

Public functions

equals

Added in 1.4.0-rc02
fun equals(other: Any!): Boolean

getActionStrip

Added in 1.0.0
fun getActionStrip(): ActionStrip?

Returns the ActionStrip for this template or null if not set.

See also
setActionStrip

getActions

Added in 1.0.0
fun getActions(): (Mutable)List<Action!>

Returns the list of Actions displayed alongside the SignInMethod in this template.

See also
addAction

getAdditionalText

Added in 1.0.0
fun getAdditionalText(): CarText?

Returns any additional text that needs to be displayed in the template or null if not set.

getHeaderAction

Added in 1.0.0
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

Added in 1.0.0
fun getInstructions(): CarText?

Returns a text containing instructions on how to sign in or null if not set.

See also
setInstructions

getSignInMethod

Added in 1.0.0
fun getSignInMethod(): SignInTemplate.SignInMethod

Returns the sign-in method of this template.

See also
Builder

getTitle

Added in 1.0.0
fun getTitle(): CarText?

Returns the title of the template or null if not set.

See also
setTitle

hashCode

Added in 1.4.0-rc02
fun hashCode(): Int

isLoading

Added in 1.1.0
fun isLoading(): Boolean

Returns whether the template is loading.

See also
setLoading

toString

Added in 1.4.0-rc02
fun toString(): String