2016-02-05 15:06:03 -06: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-05 15:06:03 -06: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;
|
|
|
|
}
|