18 lines
380 B
TypeScript
Raw Normal View History

2016-02-02 15:35:45 +01:00
/**
* Access information about the underlying device and platform.
*
* @usage
* ```js
* let info = Device.getDevice();
* // Device sits below
* ```
*/
2015-11-29 17:20:11 -06:00
export declare class Device {
2016-02-02 15:35:45 +01:00
/**
* Returns the whole device object.
* @see https://github.com/apache/cordova-plugin-device
* @returns {Object} The device object.
*/
2015-11-29 17:20:11 -06:00
static getDevice(): any;
}