Changes

Jump to: navigation, search

WebAPI/WebTelephony

7 bytes added, 02:21, 30 June 2012
DOM API
// Array of all calls that are currently connected.
readonly attribute jsval calls;
readonly attribute nsIDOMTelephonyCallGroup conferanceGroup;
// "disconnected", "incoming", "holding", "held", "resuming"
readonly attribute DOMString state;
readonly attribute nsIDOMTelephonyCallGroup group;
// of this array is never 1.
readonly attribute jsval calls;
// Add a call to the callgroup. call2 must not be specified if the
// callgroup isn't empty.
// Neither call or call2 can be in 'disconnected' state.
void add(nsIDOMTelephonyCall call, optional nsIDOMTelephonyCall call2);
// Removes a call from the callgroup. If this leaves the callgroup with
// just one call, then that last call is also removed from the callgroup.
void remove(nsIDOMTelephonyCall call);
void hold();
// Resuming a group automatically holds any other groups/calls
void resume();
// When this changes, the state of all contained calls changes at the same time
readonly attribute DOMString state;
attribute nsIDOMEventListener onstatechange;
Confirm
716
edits

Navigation menu