BarcodeScanner

This commit is contained in:
Rickard Ekman
2016-02-02 15:35:45 +01:00
parent 536a8e5898
commit c94fe23d2a
25 changed files with 318 additions and 7 deletions
+14
View File
@@ -5,9 +5,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var plugin_1 = require('./plugin');
/**
* Access information about the underlying device and platform.
*
* @usage
* ```js
* let info = Device.getDevice();
* // Device sits below
* ```
*/
var Device = (function () {
function Device() {
}
/**
* Returns the whole device object.
* @see https://github.com/apache/cordova-plugin-device
* @returns {Object} The device object.
*/
Device.getDevice = function () {
return window.device;
};