Merge pull request #279 from anarchicknight/platform_module_enhancements

added ability to retrieve device manufacturer
This commit is contained in:
dtopuzov
2015-04-14 15:38:30 +03:00
3 changed files with 19 additions and 0 deletions

View File

@@ -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".