One Logo Pool Ball
Vision · IOS API REFERENCE

StatefulRequest

protocol · iOS 18.0+ · SDK 27.1

protocol StatefulRequest : VisionRequest

A request type that builds evidence of a condition over time.

Members (1)

get · iOS 18.0+

minimumLatencyFrameCount

Swift declaration
var minimumLatencyFrameCount: Int { get }

The minimum number of frames that the request has to process on before reporting back any observation. This information is provided by the request once initialized with its required paramters. Video-based requests often need a minimum number of frames before they can report back any observation. An example would be that a movement detection requires at least 5 frames to be detected. The `minimumLatencyFrameCount` for that request would report 5 and only after 5 frames have been processed an observation would be returned in the results. This latency is indicative of how responsive a request is in respect to the incoming data.

Skipped declarations

No declarations were skipped in this snapshot.

All Vision types →