Package org.robolectric.shadows
Enum ShadowCallRedirectionService.RedirectionResult.RedirectionResultType
java.lang.Object
java.lang.Enum<ShadowCallRedirectionService.RedirectionResult.RedirectionResultType>
org.robolectric.shadows.ShadowCallRedirectionService.RedirectionResult.RedirectionResultType
- All Implemented Interfaces:
Serializable,Comparable<ShadowCallRedirectionService.RedirectionResult.RedirectionResultType>,java.lang.constant.Constable
- Enclosing class:
ShadowCallRedirectionService.RedirectionResult
public static enum ShadowCallRedirectionService.RedirectionResult.RedirectionResultType
extends Enum<ShadowCallRedirectionService.RedirectionResult.RedirectionResultType>
The type of the redirection result.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe call is cancelled.The call is placed unmodified.The call is requested to be redirected. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLACE_CALL_UNMODIFIED
public static final ShadowCallRedirectionService.RedirectionResult.RedirectionResultType PLACE_CALL_UNMODIFIEDThe call is placed unmodified. -
CANCEL_CALL
public static final ShadowCallRedirectionService.RedirectionResult.RedirectionResultType CANCEL_CALLThe call is cancelled. -
REDIRECT_CALL
public static final ShadowCallRedirectionService.RedirectionResult.RedirectionResultType REDIRECT_CALLThe call is requested to be redirected.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShadowCallRedirectionService.RedirectionResult.RedirectionResultType valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-