UNPKG

@snap/camera-kit

Version:
44 lines 1.08 kB
type BrandArray = Array<{ brand: string; version: string; }>; interface NavigatorUAData { brands: BrandArray; mobile: boolean; platform: string; } /** @internal */ export type ConnectionType = "bluetooth" | "cellular" | "ethernet" | "none" | "wifi" | "wimax" | "other" | "unknown"; declare global { interface Navigator { userAgentData?: NavigatorUAData; connection?: { type?: ConnectionType; }; } } /** @internal */ export interface PlatformInfo { sdkShortVersion: string; sdkLongVersion: string; lensCore: { version: string; buildNumber: string; baseUrl: string; }; browser: { brand: string; version: string; }; osName: string; osVersion: string; deviceModel: string; locale: string; fullLocale: string; origin: string; connectionType: ConnectionType; } /** @internal */ export declare const getPlatformInfo: import("../common/memoize").Memoized<() => PlatformInfo>; export {}; //# sourceMappingURL=platformInfo.d.ts.map