com.voximplant.sdk.call

Enum CallError

  • java.lang.Object
    • java.lang.Enum<CallError>
      • com.voximplant.sdk.call.CallError
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CallError>


    public enum CallError extends java.lang.Enum<CallError>
    Call related errors.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static CallError valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static CallError[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

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

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ALREADY_IN_THIS_STATE

        public static final CallError ALREADY_IN_THIS_STATE
        The call is already in requested state
      • FUNCTIONALITY_IS_DISABLED

        public static final CallError FUNCTIONALITY_IS_DISABLED
        Requested functionality is disabled
      • INCORRECT_OPERATION

        public static final CallError INCORRECT_OPERATION
        Operation is incorrect, f.ex. reject outgoing call
      • INTERNAL_ERROR

        public static final CallError INTERNAL_ERROR
        Internal error occured
      • REJECTED

        public static final CallError REJECTED
        Operation is rejected
      • TIMEOUT

        public static final CallError TIMEOUT
        Operation is not completed in time
    • Method Detail

      • values

        public static CallError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
         for (CallError c : CallError.values())   System.out.println(c); 
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CallError valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null