summaryrefslogtreecommitdiff
path: root/dom/webidl/MozIsoDepTech.webidl
blob: 35b1b06bc57850e51d2741c2964fae66902010f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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/. */

[Func="Navigator::HasNFCSupport", AvailableIn="PrivilegedApps",
 ChromeConstructor(MozNFCTag tag)]
interface MozIsoDepTech {
  /**
   * Send raw command to tag and receive the response.
   */
  [Throws]
  Promise<Uint8Array> transceive(Uint8Array command);
};