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

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

public enum CallInfoState
extends Enum<CallInfoState>

This enum defines the different states a call info can take. The constants are used for the call info state property CallInfoProperties.state.


Enum Constant Summary
ACTIVE
          The Busy Lamp Field's user is taking part in an incoming call that is connected or in an outgoing call
ON_HOLD
          The Busy Lamp Field's user has a call that is set on hold.
RINGING
          The Busy Lamp Field's user is being called and one of his phones is ringing
 
Method Summary
static CallInfoState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallInfoState[] 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

RINGING

public static final CallInfoState RINGING
The Busy Lamp Field's user is being called and one of his phones is ringing


ACTIVE

public static final CallInfoState ACTIVE
The Busy Lamp Field's user is taking part in an incoming call that is connected or in an outgoing call


ON_HOLD

public static final CallInfoState ON_HOLD
The Busy Lamp Field's user has a call that is set on hold.

Method Detail

values

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

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

valueOf

public static CallInfoState 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


Copyright © 2012 STARFACE GmbH. All rights reserved.