Bumping manifests a=b2g-bump
[gecko.git] / dom / webidl / NfcOptions.webidl
blob758ddb798e86543d29c2b479900fb88a97e76fea
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 enum RFState {
6   "idle",
7   "listen",
8   "discovery"
9 };
11 dictionary NfcCommandOptions
13   DOMString type = "";
15   long sessionId;
16   DOMString requestId = "";
18   RFState rfState;
20   long techType;
22   boolean isP2P;
23   sequence<MozNDEFRecordOptions> records;
25   NFCTechType technology;
26   Uint8Array command;
29 dictionary NfcEventOptions
31   DOMString type = "";
33   long status;
34   NfcErrorMessage errorMsg;
35   long sessionId;
36   DOMString requestId;
38   long majorVersion;
39   long minorVersion;
41   boolean isP2P;
42   sequence<NFCTechType> techList;
43   Uint8Array tagId;
44   sequence<MozNDEFRecordOptions> records;
46   NFCTagType tagType;
47   long maxNDEFSize;
48   boolean isReadOnly;
49   boolean isFormatable;
51   RFState rfState;
53   // HCI Event Transaction fields
54   DOMString origin;
55   Uint8Array aid;
56   Uint8Array payload;
58   // Tag transceive response data
59   Uint8Array response;