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
Phone
object. APhone
instance is required before any operation related to AT&T's Enhanced WebRTC can be performed.
At any given time, there is only onePhone
object and any calls to this function return the same object.Returns:
A
Phone
object.- Type
- Phone