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

DeviceIdentifier

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

Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.

interface DeviceIdentifier {
chromeOsAttestedDeviceId?: string;
deviceType?: "DEVICE_TYPE_UNSPECIFIED" | "DEVICE_TYPE_ANDROID" | "DEVICE_TYPE_CHROME_OS";
imei?: string;
manufacturer?: string;
meid?: string;
model?: string;
serialNumber?: string;
}

§Properties

§
chromeOsAttestedDeviceId?: string
[src]

An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.

§
deviceType?: "DEVICE_TYPE_UNSPECIFIED" | "DEVICE_TYPE_ANDROID" | "DEVICE_TYPE_CHROME_OS"
[src]

The type of the device

§
imei?: string
[src]

The device’s IMEI number. Validated on input.

§
manufacturer?: string
[src]

The device manufacturer’s name. Matches the device's built-in value returned from android.os.Build.MANUFACTURER. Allowed values are listed in Android manufacturers.

§
meid?: string
[src]

The device’s MEID number.

§
model?: string
[src]

The device model's name. Allowed values are listed in Android models and Chrome OS models.

§
serialNumber?: string
[src]

The manufacturer's serial number for the device. This value might not be unique across different device models.