mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
24 lines
755 B
Plaintext
24 lines
755 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/. */
|
|
|
|
/* Copyright © 2014 Deutsche Telekom, Inc. */
|
|
|
|
[Pref="dom.secureelement.enabled",
|
|
CheckAnyPermissions="secureelement-manage",
|
|
AvailableIn="CertifiedApps",
|
|
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();
|
|
};
|