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

SessionStateEvent

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

A message encapsulating a series of Session states and the time that the DeviceSession first entered those states.

interface SessionStateEvent {
readonly eventTime?: Date;
readonly sessionState?:
| "SESSION_STATE_UNSPECIFIED"
| "REQUESTED"
| "PENDING"
| "ACTIVE"
| "EXPIRED"
| "FINISHED"
| "UNAVAILABLE"
| "ERROR";
readonly stateMessage?: string;
}

§Properties

§
readonly eventTime?: Date
[src]

Output only. The time that the session_state first encountered that state.

§
readonly sessionState?: "SESSION_STATE_UNSPECIFIED" | "REQUESTED" | "PENDING" | "ACTIVE" | "EXPIRED" | "FINISHED" | "UNAVAILABLE" | "ERROR"
[src]

Output only. The session_state tracked by this event

§
readonly stateMessage?: string
[src]

Output only. A human-readable message to explain the state.