1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include
"nsISupports.idl"
7 [scriptable
, uuid(3ea2d155
-8ea2
-42be
-85d7
-bd8ede8afc40
)]
8 interface nsITelephonyCallInfo
: nsISupports
11 * Indicate the RIL client, 0 ~ (number of client - 1).
13 readonly attribute
unsigned long clientId
;
16 * Call identifier assigned by the RIL.
18 readonly attribute
unsigned long callIndex
;
21 * One of the nsITelephonyService::CALL_STATE_* values.
23 readonly attribute
unsigned short callState
;
26 * Number of the other party.
28 readonly attribute DOMString number
;
31 * Presentation of the call number.
32 * One of the nsITelephonyService::CALL_PRESENTATION_* values.
34 readonly attribute
unsigned short numberPresentation
;
37 * Name of the other party.
39 readonly attribute DOMString name
;
42 * Presentation of the call name.
43 * One of the nsITelephonyService::CALL_PRESENTATION_* values.
45 readonly attribute
unsigned short namePresentation
;
48 * Indicates whether this call is outgoing or incoming.
50 readonly attribute
boolean isOutgoing
;
53 * Indicates whether this call is an emergency call.
55 readonly attribute
boolean isEmergency
;
58 * Indicates whether this call is a conference call.
60 readonly attribute
boolean isConference
;
63 * Indicates whether this call can be switched between states of
64 * nsITelephonyService::CALL_STATE_CONNECTED and
65 * nsITelephonyService::CALL_STATE_HELD.
67 readonly attribute
boolean isSwitchable
;
70 * Indicates whether this call be be added into a conference.
72 readonly attribute
boolean isMergeable
;