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

MemoryEvent

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

An event related to memory and storage measurements.To distinguish between new and old events, we recommend using the createTime field.

interface MemoryEvent {
byteCount?: bigint;
createTime?: Date;
eventType?:
| "MEMORY_EVENT_TYPE_UNSPECIFIED"
| "RAM_MEASURED"
| "INTERNAL_STORAGE_MEASURED"
| "EXTERNAL_STORAGE_DETECTED"
| "EXTERNAL_STORAGE_REMOVED"
| "EXTERNAL_STORAGE_MEASURED";
}

§Properties

§
byteCount?: bigint
[src]

The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.

§
createTime?: Date
[src]

The creation time of the event.

§
eventType?: "MEMORY_EVENT_TYPE_UNSPECIFIED" | "RAM_MEASURED" | "INTERNAL_STORAGE_MEASURED" | "EXTERNAL_STORAGE_DETECTED" | "EXTERNAL_STORAGE_REMOVED" | "EXTERNAL_STORAGE_MEASURED"
[src]

Event type.