Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeviceInfo

import type { DeviceInfo } from "https://googleapis.deno.dev/v1/firebasedynamiclinks:v1.ts";

Signals associated with the device making the request.

interface DeviceInfo {
deviceModelName?: string;
languageCode?: string;
languageCodeFromWebview?: string;
languageCodeRaw?: string;
screenResolutionHeight?: bigint;
screenResolutionWidth?: bigint;
timezone?: string;
}

§Properties

§
deviceModelName?: string
[src]

Device model name.

§
languageCode?: string
[src]

Device language code setting.

§
languageCodeFromWebview?: string
[src]

Device language code setting obtained by executing JavaScript code in WebView.

§
languageCodeRaw?: string
[src]

Device language code raw setting. iOS does returns language code in different format than iOS WebView. For example WebView returns en_US, but iOS returns en-US. Field below will return raw value returned by iOS.

§
screenResolutionHeight?: bigint
[src]

Device display resolution height.

§
screenResolutionWidth?: bigint
[src]

Device display resolution width.

§
timezone?: string
[src]

Device timezone setting.