WebAPI/WebTelephony: Difference between revisions

Line 8: Line 8:
     TelephonyCall dial(DOMString number); // Returns a object in "dialing" state
     TelephonyCall dial(DOMString number); // Returns a object in "dialing" state
     attribute boolean muted;          // Should these live on the call/group?
     attribute boolean muted;          // Should these live on the call/group?
     attribute boolean speakerOn;
     attribute boolean speakerEnabled;
    
    
     attribute any active; // Active call, for now. Could be a group in the future.
     attribute any active; // Active call, for now. Could be a group in the future.
Line 16: Line 16:
     void startTone(DOMString tone);
     void startTone(DOMString tone);
     void stopTone();
     void stopTone();
    void sendTones(DOMString tones,
                  [optional] unsigned long toneDuration,
                  [optional] unsigned long intervalDuration);
    
    
     attribute Function onincoming;
     attribute Function onincoming;
canmove, Confirmed users
725

edits