de.starface.integration.uci.java.v30.values
Enum CallInfoProperties

java.lang.Object
  extended by java.lang.Enum<CallInfoProperties>
      extended by de.starface.integration.uci.java.v30.values.CallInfoProperties
All Implemented Interfaces:
Serializable, Comparable<CallInfoProperties>

public enum CallInfoProperties
extends Enum<CallInfoProperties>

This enum holds constants with the property names of an ongoing call as returned by the request UcpFunctionKeyRequests.getCallInfoForKey(String)


Enum Constant Summary
description
          A description of the call (usually the CLIP), if known as String
duration
          The duration the call is going on in seconds as Integer
number
          The number of the other call participant as String
state
          The state of the call with one of the values of CallInfoState as String
 
Method Summary
 Class<?> getType()
           
static CallInfoProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallInfoProperties[] 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
 

Enum Constant Detail

state

public static final CallInfoProperties state
The state of the call with one of the values of CallInfoState as String


duration

public static final CallInfoProperties duration
The duration the call is going on in seconds as Integer


number

public static final CallInfoProperties number
The number of the other call participant as String


description

public static final CallInfoProperties description
A description of the call (usually the CLIP), if known as String

Method Detail

values

public static CallInfoProperties[] 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 (CallInfoProperties c : CallInfoProperties.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CallInfoProperties 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 name
NullPointerException - if the argument is null

getType

public Class<?> getType()
Returns:
the java type of the property


Copyright © 2012 STARFACE GmbH. All rights reserved.