WebAPI/WebTelephony: Difference between revisions

Jump to navigation Jump to search
change function names and event names
m (format editing)
(change function names and event names)
Line 84: Line 84:
   readonly attribute DOMString number;
   readonly attribute DOMString number;
   
   
   // "dialing", "ringing", "busy", "connecting", "connected", "disconnecting", "disconnected", "incoming"
   // "dialing", "alerting", "busy", "connecting", "connected", "disconnecting", "disconnected", "incoming"
   // Add new states: "holding", "held", "resuming"
   // Add new states: "holding", "held", "resuming"
   readonly attribute DOMString state;
   readonly attribute DOMString state;
Line 92: Line 92:
   
   
   //make a "connected" call into "held"
   //make a "connected" call into "held"
   void holdCall();  
   void hold();  
   //make a "held" call back to "connected"
   //make a "held" call back to "connected"
   void resumeCall();  
   void resume();  
   
   
   attribute nsIDOMEventListener onstatechange;
   attribute nsIDOMEventListener onstatechange;
   
   
   attribute nsIDOMEventListener ondialing;
   attribute nsIDOMEventListener ondialing;
   attribute nsIDOMEventListener onringing;
   attribute nsIDOMEventListener onalerting;
   attribute nsIDOMEventListener onbusy;
   attribute nsIDOMEventListener onbusy;
   attribute nsIDOMEventListener onconnecting;
   attribute nsIDOMEventListener onconnecting;
Confirmed users
978

edits

Navigation menu