TelephonyCall.group

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

The group read-only property of the TelephonyCall interface indicates the TelephonyCallGroup (multi-person call) the call belongs to, if any.

Syntax

var myGroup = myCall.group;

Value

A DOMString.

Examples

// Telephony object
var tel = navigator.mozTelephony;

// Receive a call
tel.onincoming = function (e) {
  var incomingCall = e.call;

  // Get the number of the incoming call
  console.log(incomingCall.id);

  // Answer the call
  incomingCall.answer();

  // Find the call group
  incomingCall.group;
};

Specifications

Specification Status Comment
Web Telephony Draft Draft.

Browser compatibility

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

Supported in Firefox OS 1.0.1.

See also