Bumping gaia.json for 8 gaia revision(s) a=gaia-bump
[gecko.git] / dom / telephony / nsITelephonyCallInfo.idl
blob3561ec4e0668577a0d623bdeeb5c58c11254af30
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
10 /**
11 * Indicate the RIL client, 0 ~ (number of client - 1).
13 readonly attribute unsigned long clientId;
15 /**
16 * Call identifier assigned by the RIL.
18 readonly attribute unsigned long callIndex;
20 /**
21 * One of the nsITelephonyService::CALL_STATE_* values.
23 readonly attribute unsigned short callState;
25 /**
26 * Number of the other party.
28 readonly attribute DOMString number;
30 /**
31 * Presentation of the call number.
32 * One of the nsITelephonyService::CALL_PRESENTATION_* values.
34 readonly attribute unsigned short numberPresentation;
36 /**
37 * Name of the other party.
39 readonly attribute DOMString name;
41 /**
42 * Presentation of the call name.
43 * One of the nsITelephonyService::CALL_PRESENTATION_* values.
45 readonly attribute unsigned short namePresentation;
47 /**
48 * Indicates whether this call is outgoing or incoming.
50 readonly attribute boolean isOutgoing;
52 /**
53 * Indicates whether this call is an emergency call.
55 readonly attribute boolean isEmergency;
57 /**
58 * Indicates whether this call is a conference call.
60 readonly attribute boolean isConference;
62 /**
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;
69 /**
70 * Indicates whether this call be be added into a conference.
72 readonly attribute boolean isMergeable;