public class CstaDeviceIdentifier extends CstaDeviceID
Typically a DeviceIdentifier appears in the CstaCall, like CallingDevice, CalledDevice. The display name and number are updated automatically when a CSTA Event is received.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
displayName
The display name.
|
java.lang.String |
displayNumber
The display number.
|
Constructor and Description |
---|
CstaDeviceIdentifier(CstaDevice cstaDevice)
Construct a CstaDeviceIdentifier Object from a CstaDevice type.
|
CstaDeviceIdentifier(java.lang.String deviceIdentifier)
Construct a CstaDeviceIdentifier Object from a String.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Converts DeviceIdentifier into a String type.
|
public java.lang.String displayName
public java.lang.String displayNumber
public CstaDeviceIdentifier(java.lang.String deviceIdentifier)
deviceIdentifier
- the string that will be parsed into a CstaDeviceIdentifier Object.public CstaDeviceIdentifier(CstaDevice cstaDevice)
cstaDevice
- the CstaDevice Object that will be parsed into a CstaDeviceIdentifier Object.public java.lang.String toString()
toString
in class CstaDeviceID