type alias AudioFileInfoListItem

One stored audio file, an <audioFileInfo> in <audioFileInfoList>.

Properties

optional
id: number

Slot id of the file; read by cmd 368, written by cmd 347.

optional
fileSize: number

File size in bytes; cmd 347 reply only.

optional
audioLen: number

Audio length; cmd 347 reply only. The unit is not established.

optional
fileName: string

File name; up to 127 bytes are read.

optional
extId: string

External id of the file; up to 63 bytes are read.

optional
type: "alarm" | "reply"

What the file is used for; cmd 347 reply only.

Usage

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