public final class PhoneCall extends ComplexProperty
Modifier | Constructor and Description |
---|---|
|
PhoneCall(ExchangeService service)
PhoneCall Constructor.
|
protected |
PhoneCall(ExchangeService service,
PhoneCallId id)
PhoneCall Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Disconnects this phone call.
|
ConnectionFailureCause |
getConnectionFailureCause()
Gets a value indicating the reason why this phone call failed to connect.
|
int |
getSipResponseCode()
Gets the SIP response code of this phone call.
|
String |
getSipResponseText()
Gets the SIP response text of this phone call.
|
PhoneCallState |
getState()
Gets a value indicating the last known state of this phone call.
|
void |
refresh()
Refreshes the state of this phone call.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read an element from XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
public PhoneCall(ExchangeService service)
service
- the serviceprotected PhoneCall(ExchangeService service, PhoneCallId id)
service
- the serviceid
- the idpublic void refresh() throws Exception
Exception
- the exceptionpublic void disconnect() throws Exception
Exception
- the exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic PhoneCallState getState()
public String getSipResponseText()
public int getSipResponseCode()
public ConnectionFailureCause getConnectionFailureCause()
Copyright © 2012–2015 Microsoft. All rights reserved.