public class

CiscoTelephonyManager.CiscoTelephonyManagerDeviceInfo

extends Object
java.lang.Object
   ↳ com.cisco.telephony.CiscoTelephonyManager.CiscoTelephonyManagerDeviceInfo

Class Overview

This provides methods to get device information.

Summary

Nested Classes
class CiscoTelephonyManager.CiscoTelephonyManagerDeviceInfo.CiscoTelephonyManagerDeviceInfoInvalidObject Exception returned from an Invalid Line Info  
Protected Constructors
CiscoTelephonyManager.CiscoTelephonyManagerDeviceInfo(ICCDeviceInfo deviceInfo)
Public Methods
CUCMModeEnum getCUCMMode()
Tells whether the device is registered with Cisco Unified Communication Manager or SRST.
CiscoTelephonyManager.CiscoTelephonyManagerCallList getCalls()
Gets list of all the current calls on the device.
boolean getDNDState()
Get the current DND state.
String getDeviceName()
Get configured device name.
CiscoTelephonyManager.CiscoTelephonyManagerDeviceFeatureInfoList getFeatures()
Gets list of features (other than directory number and intercom) configured on the device.
CiscoTelephonyManager.CiscoTelephonyManagerLineList getLines()
Gets list of lines (directory numbers and intercom) configured on the device.
boolean getPrivacyState()
Get the current Privacy state.
ServiceCauseEnum getServiceCause()
Gets the CTP out of service cause.
ServiceStateEnum getServiceState()
Gets the CTP service state.
boolean isPhoneIdle()
Tells whether the phone is idle (no calls).
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected CiscoTelephonyManager.CiscoTelephonyManagerDeviceInfo (ICCDeviceInfo deviceInfo)

Public Methods

public CUCMModeEnum getCUCMMode ()

Tells whether the device is registered with Cisco Unified Communication Manager or SRST.

Returns
  • CUCMModeEnum indicating CUCM mode

public CiscoTelephonyManager.CiscoTelephonyManagerCallList getCalls ()

Gets list of all the current calls on the device. Requires the permisson "cisco.telephony.permission.CALL_PERMISSION".

Returns
  • CiscoTelephonyManagerCallList

public boolean getDNDState ()

Get the current DND state.

Returns
  • boolean true if DND is active.

public String getDeviceName ()

public CiscoTelephonyManager.CiscoTelephonyManagerDeviceFeatureInfoList getFeatures ()

Gets list of features (other than directory number and intercom) configured on the device.

Returns
  • List of ICCDeviceFeatureInfo

public CiscoTelephonyManager.CiscoTelephonyManagerLineList getLines ()

Gets list of lines (directory numbers and intercom) configured on the device. Requires the permission "cisco.telephony.permission.LINE_PERMISSION".

Returns
  • CiscoTelephonyManagerLineList

public boolean getPrivacyState ()

Get the current Privacy state.

Returns
  • boolean true if privacy is active.

public ServiceCauseEnum getServiceCause ()

Gets the CTP out of service cause.

Returns
  • ServiceCauseEnum

public ServiceStateEnum getServiceState ()

Gets the CTP service state.

Returns
  • ServiceStateEnum ServiceState

public boolean isPhoneIdle ()

Tells whether the phone is idle (no calls).

Returns
  • boolean true if phone is idle, false if not.