B2G OS

MMICall.result

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

The result read-only property of the MMICall interface returns a promise that resolves to a MozMMIResult object containing information associated with the success status of the MMI call.

Syntax

MMICall.result.then(function(MMIResult) { // do something with MMI result });

Value

A promise that resolves with a MozMMIResult object.

Examples

// Telephony object
var tel = navigator.mozTelephony;

// Place a call
tel.dial("*123#").then(function(call) {
  call.result.then(function(MMIResult) {
    // do something with MMI result
  });
});

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.

See also

Document Tags and Contributors

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