Confirmed users
978
edits
m (→Web API) |
(→Web API: WebAPI update) |
||
Line 14: | Line 14: | ||
attribute boolean muted; | attribute boolean muted; | ||
attribute boolean speakerEnabled; | attribute boolean speakerEnabled; | ||
// Calls existing in all the services. | // Calls existing in all the services. | ||
Line 23: | Line 21: | ||
// generated via startTone. | // generated via startTone. | ||
readonly attribute jsval active; | readonly attribute jsval active; | ||
/* | |||
* Number of available services a mobile device provides. | |||
* Note: Refer to MobileConnection API to gather details of each service. | |||
*/ | |||
readonly attribute long numServices; /* new attribute */ | |||
readonly unsigned long defaultServiceId; /* new attribute */ | |||
/* | |||
* Make an outgoing call | |||
* | |||
* @param number | |||
* Phone number of the remote party | |||
* @param serviceId | |||
* Id of the telephony service to be used when dialing. If not specified, | |||
* the implementation MUST use the default id. | |||
* | |||
* Possible values are 0 ~ numServices - 1, which is simply the index of a | |||
* service. | |||
*/ | |||
nsIDOMTelephonyCall dial(in DOMString number, [optional] in unsigned long serviceId); | nsIDOMTelephonyCall dial(in DOMString number, [optional] in unsigned long serviceId); | ||
naIDOMTelephonyCall dialEmergency(in DOMString number, [optional] in unsigned long serviceId); | naIDOMTelephonyCall dialEmergency(in DOMString number, [optional] in unsigned long serviceId); |