michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: michael@0: dictionary MozCallBarringOption michael@0: { michael@0: /** michael@0: * Indicates the program the call is being barred. michael@0: * michael@0: * It shall be one of the nsIDOMMozMobileConnection.CALL_BARRING_PROGRAM_* michael@0: * values. michael@0: */ michael@0: unsigned short program; michael@0: michael@0: /** michael@0: * Enable or disable the call barring program. michael@0: */ michael@0: boolean enabled; michael@0: michael@0: /** michael@0: * Barring password. Use "" if no password specified. michael@0: */ michael@0: DOMString password; michael@0: michael@0: /** michael@0: * Service for which the call barring is set up. michael@0: * michael@0: * It shall be one of the nsIDOMMozMobileConnection.ICC_SERVICE_CLASS_* michael@0: * values. michael@0: */ michael@0: unsigned short serviceClass; michael@0: }; michael@0: michael@0: dictionary DOMMMIResult michael@0: { michael@0: /** michael@0: * String key that identifies the service associated with the MMI code michael@0: * request. The UI is supposed to handle the localization of the strings michael@0: * associated with this string key. michael@0: */ michael@0: DOMString serviceCode; michael@0: michael@0: /** michael@0: * String key containing the status message of the associated MMI request. michael@0: * The UI is supposed to handle the localization of the strings associated michael@0: * with this string key. michael@0: */ michael@0: DOMString statusMessage; michael@0: michael@0: /** michael@0: * Some MMI requests like call forwarding or PIN/PIN2/PUK/PUK2 related michael@0: * requests provide extra information along with the status message, this michael@0: * information can be a number, a string key or an array of string keys. michael@0: */ michael@0: any additionalInformation; michael@0: }; michael@0: michael@0: dictionary DOMCLIRStatus michael@0: { michael@0: /** michael@0: * CLIR parameter 'n': parameter sets the adjustment for outgoing calls. michael@0: * michael@0: * 0 Presentation indicator is used according to the subscription of the michael@0: * CLIR service (uses subscription default value). michael@0: * 1 CLIR invocation (restricts CLI presentation). michael@0: * 2 CLIR suppression (allows CLI presentation). michael@0: */ michael@0: unsigned short n; michael@0: michael@0: /** michael@0: * CLIR parameter 'm': parameter shows the subscriber CLIR service status in michael@0: * the network. michael@0: * 0 CLIR not provisioned. michael@0: * 1 CLIR provisioned in permanent mode. michael@0: * 2 unknown (e.g. no network, etc.). michael@0: * 3 CLIR temporary mode presentation restricted. michael@0: * michael@0: * @see 3GPP TS 27.007 7.7 Defined values michael@0: */ michael@0: unsigned short m; michael@0: };