mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Merge pull request #279 from anarchicknight/platform_module_enhancements
added ability to retrieve device manufacturer
This commit is contained in:
6
platform/platform.d.ts
vendored
6
platform/platform.d.ts
vendored
@@ -16,6 +16,12 @@ declare module "platform" {
|
||||
* An object containing device specific information.
|
||||
*/
|
||||
export class device {
|
||||
/**
|
||||
* Gets the manufacturer of the device.
|
||||
* For example: "Apple" or "HTC" or "Samsung".
|
||||
*/
|
||||
static manufacturer: string;
|
||||
|
||||
/**
|
||||
* Gets the model of the device.
|
||||
* For example: "Nexus 5" or "iPhone".
|
||||
|
||||
Reference in New Issue
Block a user