{{ApiRef("Firefox OS")}}
{{non-standard_header}}
{{B2GOnlyHeader2('certified')}}
The CallEvent
interface of the Web Telephony API represents events related to telephone calls.
Properties
- {{domxref("CallEvent.call")}} {{readonlyinline}}
- A {{domxref("TelephonyCall")}} object representing the call from which the event originated.
Examples
// Telephony object var tel = navigator.mozTelephony; // Receive a call tel.onincoming = function(e) { var incomingCall = e.call; // Answer the call incomingCall.answer(); };
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Web Telephony')}} | {{Spec2('Web Telephony')}} | Draft |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatGeckoMobile("12.0")}} | 1.0.1 | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
See also
- Using the Web Telephony API
- {{domxref("Telephony")}}
- {{domxref("CallEvent")}}
- {{domxref("Navigator.mozTelephony")}}