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

AndroidModel

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

A description of an Android device tests may be run on.

interface AndroidModel {
brand?: string;
codename?: string;
form?:
| "DEVICE_FORM_UNSPECIFIED"
| "VIRTUAL"
| "PHYSICAL"
| "EMULATOR";
formFactor?:
| "DEVICE_FORM_FACTOR_UNSPECIFIED"
| "PHONE"
| "TABLET"
| "WEARABLE";
id?: string;
lowFpsVideoRecording?: boolean;
manufacturer?: string;
name?: string;
perVersionInfo?: PerAndroidVersionInfo[];
screenDensity?: number;
screenX?: number;
screenY?: number;
supportedAbis?: string[];
supportedVersionIds?: string[];
tags?: string[];
thumbnailUrl?: string;
}

§Properties

§
brand?: string
[src]

The company that this device is branded with. Example: "Google", "Samsung".

§
codename?: string
[src]

The name of the industrial design. This corresponds to android.os.Build.DEVICE.

§
form?: "DEVICE_FORM_UNSPECIFIED" | "VIRTUAL" | "PHYSICAL" | "EMULATOR"
[src]

Whether this device is virtual or physical.

§
formFactor?: "DEVICE_FORM_FACTOR_UNSPECIFIED" | "PHONE" | "TABLET" | "WEARABLE"
[src]

Whether this device is a phone, tablet, wearable, etc.

§
id?: string
[src]

The unique opaque id for this model. Use this for invoking the TestExecutionService.

§
lowFpsVideoRecording?: boolean
[src]

True if and only if tests with this model are recorded by stitching together screenshots. See use_low_spec_video_recording in device config.

§
manufacturer?: string
[src]

The manufacturer of this device.

§
name?: string
[src]

The human-readable marketing name for this device model. Examples: "Nexus 5", "Galaxy S5".

§
perVersionInfo?: PerAndroidVersionInfo[]
[src]

Version-specific information of an Android model.

§
screenDensity?: number
[src]

Screen density in DPI. This corresponds to ro.sf.lcd_density

§
screenX?: number
[src]

Screen size in the horizontal (X) dimension measured in pixels.

§
screenY?: number
[src]

Screen size in the vertical (Y) dimension measured in pixels.

§
supportedAbis?: string[]
[src]

The list of supported ABIs for this device. This corresponds to either android.os.Build.SUPPORTED_ABIS (for API level 21 and above) or android.os.Build.CPU_ABI/CPU_ABI2. The most preferred ABI is the first element in the list. Elements are optionally prefixed by "version_id:" (where version_id is the id of an AndroidVersion), denoting an ABI that is supported only on a particular version.

§
supportedVersionIds?: string[]
[src]

The set of Android versions this device supports.

§
tags?: string[]
[src]

Tags for this dimension. Examples: "default", "preview", "deprecated".

§
thumbnailUrl?: string
[src]

URL of a thumbnail image (photo) of the device.