Interfaces
IDevice
Defined in: platform/device/index.d.ts:4
Properties
deviceType
deviceType: "Phone" | "Tablet";Defined in: platform/device/index.d.ts:39
Gets the type of the current device. Available values: "Phone", "Tablet".
language
language: string;Defined in: platform/device/index.d.ts:52
Gets the preferred language. For example "en" or "en-US".
manufacturer
manufacturer: string;Defined in: platform/device/index.d.ts:9
Gets the manufacturer of the device. For example: "Apple" or "HTC" or "Samsung".
model
model: string;Defined in: platform/device/index.d.ts:15
Gets the model of the device. For example: "Nexus 5" or "iPhone".
os
os: string;Defined in: platform/device/index.d.ts:21
Gets the OS of the device. For example: "Android" or "iOS".
osVersion
osVersion: string;Defined in: platform/device/index.d.ts:27
Gets the OS version. For example: 4.4.4(android), 8.1(ios)
region
region: string;Defined in: platform/device/index.d.ts:57
Gets the preferred region. For example "US".
sdkVersion
sdkVersion: string;Defined in: platform/device/index.d.ts:33
Gets the SDK version. For example: 19(android), 8.1(ios).
uuid
uuid: string;Defined in: platform/device/index.d.ts:47
Gets the uuid. On iOS this will return a new uuid if the application is re-installed on the device. If you need to receive the same uuid even after the application has been re-installed on the device, use this plugin: https://www.npmjs.com/package/nativescript-ios-uuid
- Previous
- HttpResponse
- Next
- ImageAssetOptions