Skip to main content

Settings:isCached()

Check whether screen capture caching is on.

Signature​

Settings:isCached(): boolean

Returns

boolean - true when repeated detections reuse the last screen frame.

Description​

The cache is controlled by Settings:cacheOn() and Settings:cacheOff(). It makes repeated lookups on an unchanged screen faster, at the cost of not seeing changes until the next capture.