public class CstaCall
extends java.lang.Object
Constructor and Description |
---|
CstaCall(boolean set2NotKnown)
CstaCall Constructor.
|
Modifier and Type | Method and Description |
---|---|
CstaDeviceIdentifier |
getActiveDevice()
Get the ActiveDevice of this Call.
|
CstaDeviceIdentifier |
getAddedParty()
Get the AddedParty of this Call.
|
CstaDeviceIdentifier |
getAssociatedCalledDevice() |
CstaDeviceIdentifier |
getAssociatedCallingDevice() |
CstaDeviceIdentifier |
getCalledDevice()
Get the CalledDevice of this Call.
|
CstaDeviceIdentifier |
getCallingDevice()
Get the CallingDevice of this Call.
|
java.util.ArrayList<CstaConnection> |
getConnections() |
CstaDeviceIdentifier |
getLastRedirectDevice()
Get the LastRedirectDevice of this Call.
|
CstaDeviceIdentifier |
getPartnerDevice()
Get partner device.
|
java.util.ArrayList<CstaDeviceIdentifier> |
getPartnerDeviceList()
Get the partner devices list.
|
CstaDeviceIdentifier |
getTransferredToDevice()
Get the TransferredToDevice of this Call.
|
void |
setActiveDevice(CstaDeviceIdentifier activeDevice)
Set the ActiveDevice of this Call.
|
void |
setAddedParty(CstaDeviceIdentifier addedParty)
Set the AddedParty of this Call.
|
void |
setAssociatedCalledDevice(CstaDeviceIdentifier associatedCalledDevice) |
void |
setAssociatedCallingDevice(CstaDeviceIdentifier associatedCallingDevice) |
void |
setCalledDevice(CstaDeviceIdentifier calledDevice)
Set the CalledDevice of this Call.
|
void |
setCallingDevice(CstaDeviceIdentifier callingDevice)
Set the CallingDevice of this Call.
|
void |
setConnections(java.util.ArrayList<CstaConnection> connections) |
void |
setLastRedirectDevice(CstaDeviceIdentifier lastRedirectDevice)
Set the LastRedirectDevice of this Call.
|
void |
setPartnerDeviceList(java.util.ArrayList<CstaDeviceIdentifier> partnerDeviceList)
Set the partner device list.
|
void |
setTransferredToDevice(CstaDeviceIdentifier transferredToDevice)
Set the TransferredToDevice of this Call.
|
public CstaCall(boolean set2NotKnown)
set2NotKnown
- true to set each device to be initialized to "notKnown"; false to initialize to null.public CstaDeviceIdentifier getCallingDevice()
public void setCallingDevice(CstaDeviceIdentifier callingDevice)
callingDevice
- CstaDeviceIdentifier of the new CallingDevice.public CstaDeviceIdentifier getCalledDevice()
public void setCalledDevice(CstaDeviceIdentifier calledDevice)
calledDevice
- CstaDeviceIdentifier of the new CalledDevice.public CstaDeviceIdentifier getActiveDevice()
public void setActiveDevice(CstaDeviceIdentifier activeDevice)
activeDevice
- CstaDeviceIdentifier of the new ActiveDevice.public CstaDeviceIdentifier getLastRedirectDevice()
public void setLastRedirectDevice(CstaDeviceIdentifier lastRedirectDevice)
lastRedirectDevice
- CstaDeviceIdentifier of the new LastRedirectDevice.public CstaDeviceIdentifier getTransferredToDevice()
public void setTransferredToDevice(CstaDeviceIdentifier transferredToDevice)
transferredToDevice
- CstaDeviceIdentifier of the new TransferredToDevice.public CstaDeviceIdentifier getAddedParty()
public void setAddedParty(CstaDeviceIdentifier addedParty)
addedParty
- CstaDeviceIdentifier of the new AddedParty.public CstaDeviceIdentifier getPartnerDevice()
In case the device is in a conference call, or in any other scenarios that it has multiple partner device, the application has to call getPartnerDeviceList() method to get the list of partner devices. And this function will return null if current connection has multiple partners.
So if this function returns null, the application has to call getPartnerDeviceList() instead.
public java.util.ArrayList<CstaDeviceIdentifier> getPartnerDeviceList()
The application can always call this method to get the partner device(s). In most of the cases that the device is not in a conference call, the ArrayList of PartnerDeviceList contains only 1 device.
public void setPartnerDeviceList(java.util.ArrayList<CstaDeviceIdentifier> partnerDeviceList)
partnerDeviceList
- the list to be set.public java.util.ArrayList<CstaConnection> getConnections()
public void setConnections(java.util.ArrayList<CstaConnection> connections)
public CstaDeviceIdentifier getAssociatedCallingDevice()
public void setAssociatedCallingDevice(CstaDeviceIdentifier associatedCallingDevice)
public CstaDeviceIdentifier getAssociatedCalledDevice()
public void setAssociatedCalledDevice(CstaDeviceIdentifier associatedCalledDevice)