Enum ShadowTelecomManager.CallRequestMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ShadowTelecomManager.CallRequestMode>
    Enclosing class:
    ShadowTelecomManager

    public static enum ShadowTelecomManager.CallRequestMode
    extends java.lang.Enum<ShadowTelecomManager.CallRequestMode>
    Mode describing how the shadow handles incoming (TelecomManager.addNewIncomingCall(android.telecom.PhoneAccountHandle, android.os.Bundle)) and outgoing (TelecomManager.placeCall(android.net.Uri, android.os.Bundle)) call requests.
    • Enum Constant Summary

      Enum Constants 
      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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ShadowTelecomManager.CallRequestMode valueOf​(java.lang.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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait