public enum

ErrorHandler.ErrorType

extends java.lang.Enum<ErrorHandler.ErrorType>

 java.lang.Object

↳java.lang.Enum<ErrorHandler.ErrorType>

↳androidx.car.app.activity.ErrorHandler.ErrorType

Overview

All possible error conditions

Summary

Enum Constants
CLIENT_SIDE_ERROR
HOST_CONNECTION_LOST
HOST_ERROR
HOST_INCOMPATIBLE
HOST_NOT_FOUND
MULTIPLE_HOSTS
UNKNOWN_ERROR
Methods
public ErrorHandler.ActionTypegetActionType()

Returns the type of action to execute when the user clicks on the associated button

public intgetMessageResId()

Returns a human-readable message to show for this type of error

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

public static ErrorHandler.ErrorTypevalues()

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

CLIENT_SIDE_ERROR

HOST_ERROR

HOST_CONNECTION_LOST

HOST_NOT_FOUND

HOST_INCOMPATIBLE

MULTIPLE_HOSTS

UNKNOWN_ERROR

Methods

public static ErrorHandler.ErrorType values()

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

public int getMessageResId()

Returns a human-readable message to show for this type of error

public ErrorHandler.ActionType getActionType()

Returns the type of action to execute when the user clicks on the associated button