Serializable
, Comparable<ShadowTelecomManager.CallRequestMode>
public static enum ShadowTelecomManager.CallRequestMode extends Enum<ShadowTelecomManager.CallRequestMode>
TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle)
) and
outgoing (TelecomManager.placeCall(android.net.Uri, android.os.Bundle)
) call requests.Enum Constant | Description |
---|---|
ALLOW_ALL |
Automatically allows all call requests.
|
DENY_ALL |
Automatically denies all call requests.
|
MANUAL |
Do not automatically allow or deny any call requests.
|
Modifier and Type | Method | Description |
---|---|---|
static ShadowTelecomManager.CallRequestMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ShadowTelecomManager.CallRequestMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShadowTelecomManager.CallRequestMode ALLOW_ALL
public static final ShadowTelecomManager.CallRequestMode DENY_ALL
public static final ShadowTelecomManager.CallRequestMode MANUAL
public static ShadowTelecomManager.CallRequestMode[] values()
for (ShadowTelecomManager.CallRequestMode c : ShadowTelecomManager.CallRequestMode.values()) System.out.println(c);
public static ShadowTelecomManager.CallRequestMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null