type alias Snap

The snapshot request or reply in <Snap>.

Properties

optional
channelId: number

Zero-based channel.

optional
fileName: string

Snapshot file name, up to 127 characters.

optional
time: number

Snapshot time value; its unit is not visible in the firmware.

optional
pictureSize: number

JPEG size in bytes.

optional
snapPolicy: number

Snapshot policy; request only.

Usage

import { type Snap } from "protocol/params/mod.ts";