The ATT.rtc.Phone namespace provides the main method to get an instance of the Phone Object.
A Phone object allows users to utilize the functionality provided by AT&T's Enhanced WebRTC SDK
with operations like make a conference or call, answer an incoming call and hold or resume
an existing call.
Adding and removing participants for a conference can also be performed using the Phone object.
Methods
-
<static> getPhone() → {Phone}
Get the current instance of Phone.
-
The public method is used for getting an instance of the
Phoneobject. APhoneinstance is required before any operation related to AT&T's Enhanced WebRTC can be performed.
At any given time, there is only onePhoneobject and any calls to this function return the same object.Returns:
A
Phoneobject.- Type
- Phone