ReadonlydisconnectedThe reason why the call was disconnected, if applicable.
ReadonlyemergencyIndicates whether this is an emergency call.
ReadonlyerrorThe error associated with the call, if any.
ReadonlygroupThe group the call belongs to, if any.
ReadonlyidThe unique identifier for the call.
ReadonlymergeableIndicates whether the call can be merged into a conference.
Event handler for when the call is alerting (ringing).
Event handler for when the call is connected.
Event handler for when the call is dialing.
Event handler for when the call is disconnected.
Event handler for when an error occurs.
Event handler for when the call group changes.
Event handler for when the call is held.
Event handler for when the call state changes.
ReadonlysecondThe second unique identifier for the call, if any.
ReadonlyserviceThe service ID associated with the call.
ReadonlystateThe current state of the call.
ReadonlyswitchableIndicates whether the call can be switched.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsAnswers the incoming call.
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Hangs up the call.
Puts the call on hold.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsResumes the held call.
Preference
dom.telephony.enabled