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

TelephonyInfo

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

Telephony information associated with a given SIM card on the device. This is supported for all SIM cards on fully managed devices on Android 6 and above. In addition, this is supported for admin-added eSIMs on all devices for Android 15 and above.

interface TelephonyInfo {
readonly activationState?: "ACTIVATION_STATE_UNSPECIFIED" | "ACTIVATED" | "NOT_ACTIVATED";
carrierName?: string;
readonly configMode?: "CONFIG_MODE_UNSPECIFIED" | "ADMIN_CONFIGURED" | "USER_CONFIGURED";
readonly iccId?: string;
phoneNumber?: string;
}

§Properties

§
readonly activationState?: "ACTIVATION_STATE_UNSPECIFIED" | "ACTIVATED" | "NOT_ACTIVATED"
[src]

Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below Android 15.

§
carrierName?: string
[src]

The carrier name associated with this SIM card.

§
readonly configMode?: "CONFIG_MODE_UNSPECIFIED" | "ADMIN_CONFIGURED" | "USER_CONFIGURED"
[src]

Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below Android 15.

§
readonly iccId?: string
[src]

Output only. The ICCID associated with this SIM card.

§
phoneNumber?: string
[src]

The phone number associated with this SIM card.