public enum

ErrorHandler.ActionType

extends java.lang.Enum<ErrorHandler.ActionType>

 java.lang.Object

↳java.lang.Enum<ErrorHandler.ActionType>

↳androidx.car.app.activity.ErrorHandler.ActionType

Overview

Possible actions to take when the user clicks on the action button associated with an error

Summary

Enum Constants
FINISHFinish the application
RETRYTry to reconnect
UPDATE_HOSTRedirect the user to the "vending application" (e.g.: Google Play Store)
Methods
public intgetActionResId()

Returns the title of the action button for this type of error

public static ErrorHandler.ActionTypevalueOf(java.lang.String name)

public static ErrorHandler.ActionTypevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

UPDATE_HOST

Redirect the user to the "vending application" (e.g.: Google Play Store)

FINISH

Finish the application

RETRY

Try to reconnect

Methods

public static ErrorHandler.ActionType values()

public static ErrorHandler.ActionType valueOf(java.lang.String name)

public int getActionResId()

Returns the title of the action button for this type of error