gecko/dom/sms/interfaces/nsIDOMSmsRequest.idl
2012-05-21 12:12:37 +01:00

22 lines
763 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMEventTarget.idl"
interface nsIDOMEventListener;
[scriptable, uuid(1b24469d-cfb7-4667-aaf0-c1d17289ae7c)]
interface nsIDOMMozSmsRequest : nsIDOMEventTarget
{
// Returns whether "processing" or "done".
readonly attribute DOMString readyState;
// Can be null.
readonly attribute DOMString error;
// Can be bool, nsIDOMSmsMessage, nsIDOMSmsIterator or null.
readonly attribute jsval result;
attribute nsIDOMEventListener onsuccess;
attribute nsIDOMEventListener onerror;
};