Bumping manifests a=b2g-bump
[gecko.git] / dom / webidl / TelephonyCallId.webidl
blob1cc8201d3a57a53108a3863570955639f281456e
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 enum CallIdPresentation {
8   "allowed",
9   // Call number/name has been withheld by the calling party.
10   "restricted",
11   // Call number is not available due to calling party being of type payphone.
12   "payphone",
13   // Call number/name is not available due to networking problems or other reason.
14   "unknown"
17 [Pref="dom.telephony.enabled"]
18 interface TelephonyCallId {
19   // It is an empty string when "numberPresentation" is not "allowed."
20   readonly attribute DOMString number;
22   // This attribute is not relevant for outgoing calls. Default value is
23   // "allowed."
24   readonly attribute CallIdPresentation numberPresentation;
26   // This attribute is not relevant for outgoing calls. It is an empty string
27   // 1) when the call is outgoing, or 2) when the call is incoming and
28   // "namePresentation" is not "allowed." However, it could still be empty
29   // even the call is incoming and "namePresentation" is "allowed."
30   readonly attribute DOMString name;
32   // This attribute is not relevant for outgoing calls. Default value is
33   // "allowed."
34   readonly attribute CallIdPresentation namePresentation;