Added user agent string and selected language to the platform module

This commit is contained in:
Darin Dimitrov
2015-04-22 11:20:10 +03:00
parent 605fc4a209
commit a80a073e17
3 changed files with 51 additions and 0 deletions

View File

@@ -56,6 +56,17 @@ declare module "platform" {
* Gets the uuid
*/
static uuid: string;
/**
* Gets the user agent string as it would be reported by the
* device built-in web browser control
*/
static userAgent: string;
/**
* Gets the preferred language. For example "en" or "en_US"
*/
static language: string;
}
/**