summaryrefslogtreecommitdiffstats
path: root/dom/webidl/SecureElementManager.webidl
blob: 4a43ad5fe0a27586b3ae7a745e02501c63a2d839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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/. */

 /* Copyright © 2014 Deutsche Telekom, Inc. */

[Pref="dom.secureelement.enabled",
 ChromeOnly,
 JSImplementation="@mozilla.org/secureelement/manager;1",
 NavigatorProperty="seManager",
 NoInterfaceObject]
interface SEManager {

  /**
   * Retrieves all the readers available on the device.
   *
   * @return If success, the promise is resolved to  a sequence
   *        of SEReaders Otherwise, rejected with an error.
   */
  [Throws]
  Promise<sequence<SEReader>> getSEReaders();
};