mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-07 23:03:19 +08:00
18 lines
380 B
TypeScript
18 lines
380 B
TypeScript
/**
|
|
* Access information about the underlying device and platform.
|
|
*
|
|
* @usage
|
|
* ```js
|
|
* let info = Device.getDevice();
|
|
* // Device sits below
|
|
* ```
|
|
*/
|
|
export declare class Device {
|
|
/**
|
|
* Returns the whole device object.
|
|
* @see https://github.com/apache/cordova-plugin-device
|
|
* @returns {Object} The device object.
|
|
*/
|
|
static getDevice(): any;
|
|
}
|