@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
20 lines (19 loc) • 512 B
TypeScript
type DeviceType = 'Phone' | 'Tablet' | 'Vision';
declare class DeviceRef {
private _model;
private _osVersion;
private _sdkVersion;
private _deviceType;
get manufacturer(): string;
get os(): string;
get osVersion(): string;
get model(): string;
get sdkVersion(): string;
get deviceType(): DeviceType;
get uuid(): string;
get language(): string;
get region(): string;
}
export declare const Device: DeviceRef;
export declare const device: DeviceRef;
export {};