Codec for <imageFileInfo>.
Announce an image to import
Announce an image to import
import { assertStringIncludes } from "@std/assert"; import { imageFileInfo } from "@hertzg/reolink-api/protocol/params"; const xml = imageFileInfo.encode({ channelId: 0, fileSize: 65536, imageName: "guard.jpg", }); assertStringIncludes(xml, "<imageName>guard.jpg</imageName>");
XmlParam<"imageFileInfo", ImageFileInfo>