Skip to content

@camera.ui/sdk / camera / SnapshotRefreshMode

Type Alias: SnapshotRefreshMode ​

SnapshotRefreshMode = "interval" | "onView" | "onDemand"

Defined in: camera/frames.ts:31

When a camera takes a new snapshot. interval runs a timer, onView fetches for a viewer once the stored picture is older than maxAge, onDemand only on an explicit request (automations, the refresh button, the API).