public class

CiscoTelephonyManager.CiscoTelephonyManagerLine

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

Class Overview

This provides access to line services. The services includes creating calls and add/remove event listeners for line/call.

Summary

Nested Classes
class CiscoTelephonyManager.CiscoTelephonyManagerLine.CiscoTelephonyManagerLineInvalidObject Exception returned from an Invalid Line  
Protected Constructors
CiscoTelephonyManager.CiscoTelephonyManagerLine(ILine iline)
Public Methods
synchronized void addCallListener(CiscoTelephonyManager.CiscoTelephonyManagerCallListener listener)
Add listener for call events for calls on this line.
synchronized void addListener(CiscoTelephonyManager.CiscoTelephonyManagerLineListener listener)
Add listener for events on this line.
CiscoTelephonyManager.CiscoTelephonyManagerCall createCall()
Creates a new call on this line and returns interface to newly created call.
CiscoTelephonyManager.CiscoTelephonyManagerLineInfo getLineInfo()
Gets reference handle for the line information.
synchronized void removeCallListener(CiscoTelephonyManager.CiscoTelephonyManagerCallListener listener)
Remove call event listener.
synchronized void removeListener(CiscoTelephonyManager.CiscoTelephonyManagerLineListener listener)
Remove line event listener.
[Expand]
Inherited Methods
From class java.lang.Object

Protected Constructors

protected CiscoTelephonyManager.CiscoTelephonyManagerLine (ILine iline)

Public Methods

public synchronized void addCallListener (CiscoTelephonyManager.CiscoTelephonyManagerCallListener listener)

Add listener for call events for calls on this line. Adding listener using this method will notify all call events that belong to this line. Requires the permission "cisco.telephony.permission.CALL_INFO_PERMISSION".

Parameters
listener to be added

public synchronized void addListener (CiscoTelephonyManager.CiscoTelephonyManagerLineListener listener)

Add listener for events on this line. Adding listener using this method will notify all the line events on this line. Requires the permission "cisco.telephony.permission.LINE_INFO_PERMISSION"

Parameters
listener to be added

public CiscoTelephonyManager.CiscoTelephonyManagerCall createCall ()

Creates a new call on this line and returns interface to newly created call. This is the first method to invoke to create an outgoing call.

Returns
  • ICall of the call created

public CiscoTelephonyManager.CiscoTelephonyManagerLineInfo getLineInfo ()

Gets reference handle for the line information. Requires the permission "cisco.telephony.permission.LINE_INFO_PERMISSION".

Returns
  • ILineInfo of the line

public synchronized void removeCallListener (CiscoTelephonyManager.CiscoTelephonyManagerCallListener listener)

Remove call event listener.

Parameters
listener to be removed

public synchronized void removeListener (CiscoTelephonyManager.CiscoTelephonyManagerLineListener listener)

Remove line event listener.

Parameters
listener to be removed