awesome-cordova-plugins/dist/plugins/device.d.ts

18 lines
380 B
TypeScript
Raw Normal View History

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