B2G OS

Telephony.onready

This API is available on Firefox OS for internal applications only.

The onready property of the Telephony interface specifies an event listener to receive ready events. These events occur when the telephony object is initialized.

This was implemented in Firefox OS 2.1, but obsoleted by the promise-based Telephony.ready property in Firefox OS 2.2.

Syntax

myTelephony.onready = function() { ... };

These events are of type CallEvent.

Examples

// Telephony object
var tel = navigator.mozTelephony;

tel.onready = function() {
  // Do something now telephony is initialized
};

Specifications

Specification Status Comment
Web Telephony Draft Draft

Browser compatibility

For obvious reasons, support is primarily expected on mobile browsers.

Supported in Firefox OS 2.1.

This property was obsoleted by the Telephony.ready property in Firefox OS 2.2.

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills, teoli
Last updated by: fscholz,