| java.lang.Object |
| ↳ |
com.cisco.telephony.CiscoTelephonyManager.CiscoTelephonyManagerDevice |
Class Overview
CiscoTelephonyManagerDevice provides device services. The services include
creating calls and invoking device specific features.
Summary
| Nested Classes |
|
class |
CiscoTelephonyManager.CiscoTelephonyManagerDevice.CiscoTelephonyManagerDeviceInvalidObject |
Exception returned from an Invalid Device
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait(long arg0, int arg1)
|
|
Protected Constructors
protected
CiscoTelephonyManager.CiscoTelephonyManagerDevice
(ICCDevice iccDevice)
Public Methods
Add call event listener. Adding listener using this method will notify all call events for all calls. Requires the permission "cisco.telephony.permission.CALL_INFO_PERMISSION".
Parameters
| listener
| to receive all call events. |
Add line event listener. Adding listener using his method will notify all the line events. Requires the permissoin "cisco.telephony.permission.LINE_INFO_PERMISSION".
Add device event listener. Adding listener using this method will notify all the device events. Requires the permission "cisco.telephony.permission.DEVICE_INFO_PERMISSION".
Parameters
| listener
| for device events. |
Creates a new call and returns newly created call. This is the first method to invoke to create an outgoing call. Note: call is created in the memory only. Client must invoke further methods to dial or originate actual call. Requires the permission "cisco.telephony.permission.DEVICE_PERMISSION".
Returns
- CiscoTelephonyManagerCall interface for newly created call.
Returns device information.
Returns
- CiscoTelephonyManagerDeviceInfo device information interface. Requires the permission "cisco.telephony.permission.DEVICE_INFO_PERMISSION".
Remove call listener handler added by addCallListener().
Remove line listener handler added by addLineListener().
Remove device event listener added by addListener().
public
void
toggleDNDState
()
Toggles the DND status of the device. This will result in a device event DND_STATE_CHANGED with the new state of DND.
public
void
togglePrivacy
()
Toggles the privacy status of the device. The user can toggle the privacy state of shared directory numbers configured on the device. When the privacy feature is active, the sharedline partners will not see the calls from this phone. This will result in a device event PRIVACY_CHANGED with the new state of privacy.