Confirmed users
716
edits
No edit summary |
|||
Line 1: | Line 1: | ||
== Proposed API == | == Proposed API == | ||
Line 17: | Line 7: | ||
attribute boolean speakerOn; | attribute boolean speakerOn; | ||
attribute double speakerVolume; | attribute double speakerVolume; | ||
attribute boolean doNotDisturb; // Automatically drops calls. Not sure if needed. Only seems needed | |||
// if supported as a network feature. | |||
attribute any active; // Either a call or a group | attribute any active; // Either a call or a group | ||
Line 45: | Line 37: | ||
void answer(); // Should this make the call the active one? | void answer(); // Should this make the call the active one? | ||
void | void disconnect(); | ||
// void hold(); Not sure if needed for now. We might need to remake group APi to make it async | |||
// void resume(); | |||
} | |||
[Constructor()] | [Constructor()] |