mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added user agent string and selected language to the platform module
This commit is contained in:
11
platform/platform.d.ts
vendored
11
platform/platform.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user